" title="<?php echo JText::_('TOURNAMENT_ROUND_PRINT'); ?> " class="CLMTooltip" /></a></div> <?php // Turnier unveröffentlicht? if ($this->turnier->published == 0) { echo CLMContent::componentheading($heading); echo CLMContent::clmWarning(JText::_('TOURNAMENT_NOTPUBLISHED') . "<br/>" . JText::_('TOURNAMENT_PATIENCE')); // Runden nicht erstellt } elseif ($this->turnier->rnd == 0) { echo CLMContent::componentheading($heading); echo CLMContent::clmWarning(JText::_('TOURNAMENT_NOROUNDS')); } elseif ($this->round->published != 1) { echo CLMContent::componentheading($heading); echo CLMContent::clmWarning(JText::_('TOURNAMENT_ROUNDNOTPUBLISHED')); // Turnier/Runde kann ausgegeben werden } else { $turParams = new JParameter($this->turnier->params); $heading .= ": " . JText::_('TOURNAMENT_ROUND') . " " . $this->round->nr; if ($this->round->datum != "0000-00-00" and $turParams->get('displayRoundDate', 1) == 1) { $heading .= ', ' . JHTML::_('date', $this->round->datum, JText::_('%d. %B %Y')); } if ($this->turnier->dg > 1 and $this->round->dg == 1) { $heading .= " (" . JText::_('TOURNAMENT_STAGE_1') . ")"; } if ($this->turnier->dg > 1 and $this->round->dg == 2) { $heading .= " (" . JText::_('TOURNAMENT_STAGE_2') . ")"; } echo CLMContent::componentheading($heading); // Navigationsmenu
$counter = ceil(count($mannschaft) / 2); if ($counter < 2 and count($mannschaft) > 1) { $counter++; } echo $counter; ?> <?php echo JText::_('LEAGUE_RATING_BEST_TEAM_II'); ?> <?php echo $liga[0]->name; ?> </h4> <?php if (!$mannschaft) { echo CLMContent::clmWarning(JText::_('LEAGUE_NO_GAMES')); } else { ?> <table cellpadding="0" cellspacing="0" class="statistik"> <tr> <th><?php echo JText::_('DWZ_NR'); ?> </th> <th><?php echo JText::_('DWZ_NAME'); ?> </th> <th><?php echo JText::_('LEAGUE_STAT_LEAGUE'); ?>
if (!isset($dwz[0]) || $dwz[0]->dsb_datum == 0) { $hint_dwzdsb = JText::_('DWZ_DSB_COMMENT_UNCLEAR'); } } else { $hint_dwzdsb = JText::_('DWZ_DSB_COMMENT_LEAGUE') . ' ' . utf8_decode(JText::_('ON_DAY')) . ' ' . JHTML::_('date', $params[$dwz_date], JText::_('DATE_FORMAT_CLM_F')); } if (!$dwz or $dwz[0]->published == "0") { echo '<br><div class="wrong">' . JText::_('NOT_PUBLISHED') . '<br>' . JText::_('GEDULD') . '</div><br>'; } else { ?> <?php if (!$liga) { echo "<br>" . CLMContent::clmWarning(JText::_('DWZ_NO_RESULTS')) . "<br>"; } elseif ($liga[0]->anzeige_ma == 1) { echo "<br>" . CLMContent::clmWarning(JText::_('TEAM_FORMATION_BLOCKED')) . "<br>"; } else { $count = 0; $x = 0; ?> <!-- ///////////////////// DWZ Auswertung ///////////////// --> <table cellpadding="0" cellspacing="0" class="dwz_liga"> <?php foreach ($liga as $liga) { $x++; if ($x % 2 == 0) { $zeilenr = 'zeile1'; } else { $zeilenr = 'zeile2'; }
$heading = $this->turnier->name . ": " . JText::_('TOURNAMENT_DWZ'); $params = new clm_class_params($this->turnier->params); $inofDWZ = $params->get("inofDWZ", "0"); $dwz_date = $params->get("dwz_date", "0000-00-00"); if ($this->turnier->published == 0) { echo CLMContent::componentheading($heading); require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu_t.php'; echo CLMContent::clmWarning(JText::_('TOURNAMENT_NOTPUBLISHED') . "<br/>" . JText::_('TOURNAMENT_PATIENCE')); } elseif (count($this->players) == 0) { echo CLMContent::componentheading($heading); require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu_t.php'; echo CLMContent::clmWarning(JText::_('TOURNAMENT_NOPLAYERSREGISTERED')); } elseif ($inofDWZ == 0) { echo CLMContent::componentheading($heading); require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu_t.php'; echo CLMContent::clmWarning(JText::_('TOURNAMENT_DWZ_NO')); } else { // PDF-Link echo CLMContent::createPDFLink('turnier_dwz', JText::_('TOURNAMENT_DWZ'), array('turnier' => $this->turnier->id, 'layout' => 'dwz')); echo CLMContent::componentheading($heading); require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu_t.php'; $turParams = new JRegistry(); $turParams->loadString($this->turnier->params); ?> <table cellpadding="0" cellspacing="0" id="turnier_teilnehmer" <?php if ($fixth_ttln == "1") { ?> class="tableWithFloatingHeader"<?php } ?>
<?php } ?> </select> </form> </span> <div class="clear"></div> </div> <br> <?php // Prüfen ob ZPS vorhanden ist if (!$liga[0]->Vereinname) { echo "<br>" . CLMContent::clmWarning(JText::_('CLUB_UNKNOWN')) . "<br>"; } else { if ($itemid != '') { $postlink = '&saison=' . $sid . '&zps=' . $urlzps . '&Itemid=' . $itemid; } else { $postlink = '&saison=' . $sid . '&zps=' . $urlzps; } ?> <form id="adminForm" action="<?php echo JRoute::_('index.php?option=com_clm&view=dwz' . $postlink); ?> " method="post" name="adminForm"> <table cellpadding="0" cellspacing="0" id="dwz" <?php if ($fixth_dwz == "1") { ?>
<?php for ($y = 0; $y < $liga[0]->teil / 2; $y++) { if (!isset($summe[$sum_paar])) { break; } if ($summe[$sum_paar]->runde == $x + 1 + 3 * $liga[0]->runden and $summe[$sum_paar]->paarung == $y + 1) { $sum_paar = $sum_paar + 2; } if ($dwzgespielt[$z2]->dwz and $dwzgespielt[$z2]->runde == $x + 1 and $dwzgespielt[$z2]->paar == $y + 1 and $dwzgespielt[$z2]->dg == 4 and $paar[$z]->hmnr != 0 and $paar[$z]->gmnr != 0) { $z2++; } $z++; } ?> <tr><td><?php echo CLMContent::clmWarning(JText::_('PAAR_UNPUBLISHED')); ?> </td></tr> </table> <?php } } } ?> <div class="legend"> <p><img src="<?php echo CLMImage::imageURL('accept.png'); ?> " width="16" height="16"/> = <?php
echo $imageDir . 'pdf_button.png'; ?> " title="<?php echo JText::_('TOURNAMENT_PARTICIPANTLIST_PRINT'); ?> " class="CLMTooltip" /></a></div> <?php // Componentheading $heading = $this->turnier->name . ": " . JText::_('TOURNAMENT_PARTICIPANTLIST'); echo CLMContent::componentheading($heading); // Navigationsmenu require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu_t.php'; if ($this->turnier->published == 0) { echo CLMContent::clmWarning(JText::_('TOURNAMENT_NOTPUBLISHED') . "<br/>" . JText::_('TOURNAMENT_PATIENCE')); } elseif (count($this->players) == 0) { echo CLMContent::clmWarning(JText::_('TOURNAMENT_NOPLAYERSREGISTERED')); } else { $turParams = new JParameter($this->turnier->params); ?> <table cellpadding="0" cellspacing="0" id="turnier_teilnehmer" <?php if ($fixth_ttln == "1") { ?> class="tableWithFloatingHeader"<?php } ?> > <tr> <th class="tt_col_1"><?php
?> </div> </div> <div class="clr"></div> <?php require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu.php'; //if ( if (!$liga or $liga[0]->published == "0") { echo "<br>" . CLMContent::clmWarning(JText::_('NOT_PUBLISHED') . '<br>' . JText::_('GEDULD')) . "<br>"; } else { if ($liga[0]->rnd == 0) { echo "<br>" . CLMContent::clmWarning(JText::_('NO_ROUND_CREATED') . '<br>' . JText::_('NO_ROUND_CREATED_HINT')) . "<br>"; } else { if ($liga[$runde - 1]->pub == 0) { echo "<br>" . CLMContent::clmWarning(JText::_('ROUND_UNPUBLISHED') . '<br>' . JText::_('ROUND_UNPUBLISHED_HINT')) . "<br>"; } else { ?> <?php // Kommentare zur Liga if (isset($liga[$runde - 1]->comment) and $liga[$runde - 1]->comment != "") { ?> <div id="desc"> <p class="run_note_title"><?php echo JText::_('NOTICE'); ?> </p> <p><?php echo nl2br($liga[$runde - 1]->comment); ?>
echo $imageDir . 'pdf_button.png'; ?> " title="<?php echo JText::_('TOURNAMENT_PAIRINGLIST_PRINT'); ?> " class="CLMTooltip" /></a></div> <?php // componentheading vorbereiten $heading = $this->turnier->name . ": " . JText::_('TOURNAMENT_PAIRINGLIST'); echo CLMContent::componentheading($heading); // Navigationsmenu require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu_t.php'; if ($this->turnier->published == 0) { echo CLMContent::clmWarning(JText::_('TOURNAMENT_NOTPUBLISHED') . "<br/>" . JText::_('TOURNAMENT_PATIENCE')); } elseif ($this->turnier->rnd == 0) { echo CLMContent::clmWarning(JText::_('TOURNAMENT_NOROUNDS')); } else { $turParams = new JParameter($this->turnier->params); // alle Runden durchgehen foreach ($this->rounds as $value) { // published? if ($value->published == 1) { // Table aufziehen echo '<table cellpadding="0" cellspacing="0" class="runde">'; // Kopfzeile echo '<tr><td colspan="9">'; echo '<div style="text-align:left; padding-left:1%">'; echo '<b>'; echo $value->name; if ($value->datum != "0000-00-00" and $turParams->get('displayRoundDate', 1) == 1) { echo ', ' . JHTML::_('date', $value->datum, JText::_('%d. %B %Y'));
* @email fishpoke@fishpoke.de * @author Andreas Dorn * @email webmaster@sbbl.org */ defined('_JEXEC') or die('Restricted access'); // Stylesheet laden require_once JPATH_COMPONENT . DS . 'includes' . DS . 'css_path.php'; echo "<div><div id='turnier_info'>"; // Konfigurationsparameter auslesen $itemid = JRequest::getVar('Itemid'); // componentheading vorbereiten $heading = $this->turnier->name; // Turnier unveröffentlicht? if ($this->turnier->published == 0) { echo CLMContent::componentheading($heading); echo CLMContent::clmWarning(JText::_('TOURNAMENT_NOTPUBLISHED') . "<br/>" . JText::_('TOURNAMENT_PATIENCE')); // Turnier } else { echo CLMContent::componentheading($heading); require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu_t.php'; ?> <table> <tr> <th align="left" colspan="2" class="anfang"><?php echo JText::_('TOURNAMENT_DATA'); ?> </th> </tr>
//$config = clm_core::$db->config(); //$dwz = $config->dwz_wertung; ?> <!-- /// DWZ Auswertung /// --> <br> <div class="title"><?php echo JText::_('PLAYER_DWZ_EVAL'); ?> </div> <?php //if($dwz =="0") { // Einzelauswertung der Ligen foreach ($spieler as $spielerl) { if ($spielerl->Punkte == 0 and $spielerl->Partien == 0) { echo CLMContent::clmWarning($spielerl->liga_name . '-' . JText::_('PLAYER_NO_EVAL_GAMES')) . '<br>'; } else { ?> <table cellpadding="0" cellspacing="0" class="spielerdwzneu"> <tr> <th class="anfang" colspan="9"><?php echo $spielerl->liga_name; ?> </th> </tr> <tr> <td><a title="<?php echo $hint_dwzdsb; ?> " class="CLMTooltip"><?php echo JText::_('PLAYER_RATING_OLD');
} } // Stylesheet laden require_once JPATH_COMPONENT . DS . 'includes' . DS . 'css_path.php'; // require_once(JPATH_COMPONENT.DS.'includes'.DS.'image_path.php'); echo '<div id="clm"><div id="rangliste">'; // schon veröffentlicht if (!$liga or $liga[0]->published == 0) { echo CLMContent::clmWarning(JText::_('NOT_PUBLISHED') . "<br/>" . JText::_('GEDULD')); // falscher Modus } elseif (!in_array($liga[0]->runden_modus, array(1, 2, 3))) { $link = new CLMcLink(); $link->view = 'paarungsliste'; $link->more = array('saison' => $sid, 'liga' => $lid, 'Itemid' => $item); $link->makeURL(); echo CLMContent::clmWarning(JText::_('TOURNAMENT_TABLENOTAVAILABLE') . "<br />" . $link->makeLink(JText::_('PAAR_OVERVIEW'))); } else { // Browsertitelzeile setzen $doc = JFactory::getDocument(); $doc->setTitle(JText::_('Tabelle') . ' ' . $liga[0]->name); // Konfigurationsparameter auslesen $config = clm_core::$db->config(); $pdf_melde = $config->pdf_meldelisten; $man_showdwz = $config->man_showdwz; // Userkennung holen $user = JFactory::getUser(); $jid = $user->get('id'); // Array für DWZ Schnitt setzen $dwz = array(); for ($y = 1; $y < $liga[0]->teil + 1; $y++) { if ($params['dwz_date'] == '0000-00-00') {
//Sonderranglisten $heading = $this->turnier->name . ": " . $this->turnier->spRangName . " " . JText::_('TOURNAMENT_RANKING'); } else { $heading = $this->turnier->name . ": " . JText::_('TOURNAMENT_RANKING'); } echo CLMContent::componentheading($heading); // Navigationsmenu require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu_t.php'; if ($this->turnier->published == 0) { echo CLMContent::clmWarning(JText::_('TOURNAMENT_NOTPUBLISHED') . "<br/>" . JText::_('TOURNAMENT_PATIENCE')); } elseif ($spRang == 0 and $this->turnier->playersCount < $this->turnier->teil) { //Änderung wegen Sonderranglisten echo CLMContent::clmWarning(JText::_('TOURNAMENT_PLAYERLISTNOTCOMPLETE') . "<br/>" . JText::_('TOURNAMENT_NORANKINGEXISTING')); } elseif ($spRang != 0 and $this->turnier->playersCount == 0) { //Hinzugefügt wegen Sonderranglisten echo CLMContent::clmWarning(JText::_('TOURNAMENT_SPECIALRANKING_NOPLAYERS')); } else { $turParams = new JParameter($this->turnier->params); $heim = array(1 => "W", 0 => "S"); $fwFieldNames = array(1 => 'sum_bhlz', 'sum_busum', 'sum_sobe', 'sum_wins'); // Anzahl FW-Spalten $rightcol = 0; // Breite fuer Rechte Spalte for ($f = 1; $f <= 3; $f++) { $fwFieldName = 'tiebr' . $f; if ($this->turnier->{$fwFieldName} > 0) { $rightcol++; } } if ($this->turnier->typ == 1) { // CH-System
<?php } } if ($ex > 0) { ?> <div class="hint"><?php echo JText::_('LEAGUE_RATING_IMPOSSIBLE'); ?> </div><br /><?php } // } // Auswertung der gesamten Saison // else { if (count($spieler) > 1) { if ($spieler[0]->SPunkte == 0 and $spieler[0]->SPartien == 0) { echo CLMContent::clmWarning(JText::_('SEASON') . " " . $spieler[0]->s_name . " - " . JText::_('PLAYER_NO_EVAL_GAMES')) . '<br>'; } else { ?> <?php $hint_dwznew = ""; foreach ($dwz_date_new as $dwz_date_liga) { if ($dwz_date_liga->lid == 0) { if ($dwz_date_liga->nr_aktion == 101) { $hint_dwznew = JText::_('DWZ_COMMENT_SRUN') . ' ' . utf8_decode(JText::_('ON_DAY')) . ' ' . utf8_decode(JHTML::_('date', $dwz_date_liga->datum, JText::_('%d. %B %Y , %H %M'))); } if ($dwz_date_liga->nr_aktion == 102) { $hint_dwznew = JText::_('DWZ_COMMENT_DEL') . ' ' . utf8_decode(JText::_('ON_DAY')) . ' ' . utf8_decode(JHTML::_('date', $dwz_date_liga->datum, JText::_('%d. %B %Y , %H %M'))); } break; } }