Example #1
0
}
</script>

<div >
<div id="dwz">
<div class="componentheading">
<?php 
echo JText::_('CLUB_RATING');
?>
 ::: <?php 
echo $liga[0]->Vereinname;
?>
<div id="pdf">

<?php 
echo CLMContent::createPDFLink('dwz', JText::_('PDF_CLUBRATING'), array('layout' => 'dwz', 'saison' => $sid, 'zps' => $urlzps));
?>
</div>
</div>
<div class="clr"></div>

    <div class="clmbox">
        <a href="index.php?option=com_clm&view=verein&saison=<?php 
echo $sid;
?>
&zps=<?php 
echo $urlzps;
if ($itemid != '') {
    echo "&Itemid=" . $itemid;
}
?>
Example #2
0
?>

<div >
<div id="paarungsliste">

<div class="componentheading">
<?php 
echo JText::_('PAAR_OVERVIEW');
?>
 : <?php 
echo $liga[0]->name;
?>

<div id="pdf">
<?php 
echo CLMContent::createPDFLink('paarungsliste', JText::_('PDF_PAAR'), array('saison' => $sid, 'layout' => 'paar', 'saison' => $liga[0]->sid, 'liga' => $liga[0]->id));
?>
</div></div>
<div class="clr"></div>

<?php 
require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu.php';
if (!$liga or $liga[0]->published == "0") {
    echo "<br>" . CLMContent::clmWarning(JText::_('NOT_PUBLISHED') . '<br>' . JText::_('GEDULD')) . "<br>";
} else {
    if ($fe_runde_tln == "1") {
        $ohne_tln = "8";
    } else {
        $ohne_tln = "6";
    }
    if ($params['round_date'] == '1') {
Example #3
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 
    }
    ?>
>

	<tr>
Example #4
0
$googlecharts = $config->googlecharts;
// Browsertitelzeile setzen
$doc = JFactory::getDocument();
$daten['title'] = JText::_('LEAGUE_STATISTIK') . ' ' . $liga[0]->name;
if ($doc->_type != "raw") {
    $doc->setHeadData($daten);
}
?>
<div class="componentheading">
<?php 
echo JText::_('LEAGUE_STATISTIK');
echo "&nbsp;" . $liga[0]->name;
?>
<div id="pdf">
<?php 
echo CLMContent::createPDFLink('statistik', JText::_('LEAGUE_STAT_PDF'), array('layout' => 'brettbeste', 'saison' => $liga[0]->sid, 'liga' => $liga[0]->id));
?>

</div></div>
<div class="clr"></div>
 
<?php 
require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu.php';
?>

<?php 
if (!$liga or $liga[0]->published == "0") {
    echo '<br>' . CLMContent::clmWarning(JText::_('NOT_PUBLISHED') . '<br>' . JText::_('GEDULD'));
} else {
    ?>
	<div>
Example #5
0
}
?>
    
    <div id="pdf">
	
	<?php 
// PGN eigene Paarung
if ($params['pgntype'] > 0 and $jid != 0 and $club_jid == true) {
    echo CLMContent::createPGNLink('runde', JText::_('ROUND_PGN_CLUB'), array('saison' => $liga[0]->sid, 'liga' => $liga[0]->id, 'runde' => $runde, 'dg' => $dg));
}
// PGN gesamte Runde
if ($params['pgntype'] > 0 and $jid != 0) {
    echo CLMContent::createPGNLink('runde', JText::_('ROUND_PGN_ALL'), array('saison' => $liga[0]->sid, 'liga' => $liga[0]->id, 'runde' => $runde, 'dg' => $dg), 2);
}
// PDF
echo CLMContent::createPDFLink('runde', JText::_('PDF_ROUND'), array('saison' => $liga[0]->sid, 'layout' => 'runde', 'liga' => $liga[0]->id, 'runde' => $runde_orig, 'dg' => $dg));
?>
	<?php 
if ($liga[0]->runden_modus != 4 or isset($liga[$runde - 1]->datum) and $liga[$runde - 1]->datum > '2014-05-31') {
    ?>
		<div class="pdf"><a href="index.php?option=com_clm&view=runde&Itemid=<?php 
    echo $item;
    ?>
&saison=<?php 
    echo $liga[0]->sid;
    ?>
&liga=<?php 
    echo $liga[0]->id;
    ?>
&runde=<?php 
    echo $runde_orig;
Example #6
0
// Stylesheet laden
require_once JPATH_COMPONENT . DS . 'includes' . DS . 'css_path.php';
// Browsertitelzeile setzen
$doc = JFactory::getDocument();
$doc->setTitle(JText::_('TERMINE_HEAD'));
?>
<div >
<div id="termine">
	<div class="componentheading"><?php 
echo JText::_('TERMINE_HEAD');
?>

		<?php 
// PDF-Links
echo CLMContent::createPDFLink('termine', JText::_('TERMINE_SHORT_PRINT'), array('layout' => 'termine_short', 'saison' => $sid));
echo CLMContent::createPDFLink('termine', JText::_('TERMINE_LONG_PRINT'), array('layout' => 'termine_long', 'saison' => $sid));
?>
	
	</div>

	<!-- Navigationsmenu -->
    <?php 
require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu.php';
?>
    <br />
    
    <?php 
if (isset($termine[0]) and $termine[0]->nr == 0) {
    ?>
    <div class="wrong"><?php 
    echo JText::_('NO_ROUNDS');
Example #7
0
    echo JText::_('RANGLISTE');
    echo "&nbsp;" . $liga[0]->name;
    ?>

	<div id="pdf">
	<!--<img src="printButton.png" alt="drucken"  /></a>-->

	<?php 
    echo CLMContent::createPDFLink('rangliste', JText::_('PDF_RANGLISTETABLE'), array('saison' => $sid, 'layout' => 'rang', 'liga' => $lid));
    if ($pdf_melde == 1) {
        // Neue Ausgabe: Saisonstart
        echo CLMContent::createPDFLink('rangliste', JText::_('PDF_RANGLISTE_TEAM_LISTING'), array('saison' => $sid, 'layout' => 'start', 'liga' => $lid));
        if ($jid != 0) {
            echo CLMContent::createPDFLink('rangliste', JText::_('PDF_RANGLISTE_LIGAHEFT_1'), array('saison' => $sid, 'layout' => 'heft', 'o_nr' => 1, 'saison' => $sid, 'liga' => $lid));
        }
        echo CLMContent::createPDFLink('rangliste', JText::_('PDF_RANGLISTE_LIGAHEFT'), array('saison' => $sid, 'layout' => 'heft', 'o_nr' => 0, 'saison' => $sid, 'liga' => $lid));
    }
    echo CLMContent::createViewLink('tabelle', JText::_('RANGLISTE_GOTO_TABELLE'), array('saison' => $sid, 'liga' => $lid, 'Itemid' => $item));
    ?>
	</div></div>
	<div class="clr"></div>

	<?php 
    require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu.php';
    ?>

	<br>

	<table cellpadding="0" cellspacing="0" class="rangliste">
		<tr>
			<th class="rang"><div><?php 
Example #8
0
// $pdf_melde 		= $config->pdf_meldelisten;
$fixth_ttln = $config->fixth_ttln;
// CLM-Container
echo "<div id='clm'><div id='turnier_teilnehmer'>";
// Componentheading
$heading = $this->turnier->name . ": " . JText::_('TOURNAMENT_PARTICIPANTLIST');
if ($this->turnier->published == 0) {
    echo CLMContent::componentheading($heading);
    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'));
} else {
    // PDF-Link
    echo CLMContent::createPDFLink('turnier_teilnehmer', JText::_('TOURNAMENT_PARTICIPANTLIST'), array('turnier' => $this->turnier->id, 'layout' => 'teilnehmer'));
    echo CLMContent::componentheading($heading);
    require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu_t.php';
    $turParams = new clm_class_params($this->turnier->params);
    ?>

	<table cellpadding="0" cellspacing="0" id="turnier_teilnehmer" <?php 
    if ($fixth_ttln == "1") {
        ?>
class="tableWithFloatingHeader"<?php 
    }
    ?>
>

	<tr>
		
Example #9
0
    <?php 
    } else {
        ?>
		<div class="clmbox"><?php 
        echo "|  ";
        ?>
    <?php 
    }
    ?>
	<div id="pdf">
	
	<?php 
    if ($jid != "0") {
        echo CLMContent::createPDFLink('mannschaft', JText::_('PDF_TEAM1'), array('layout' => 'team', 'o_nr' => 1, 'saison' => $mannschaft[0]->sid, 'liga' => $mannschaft[0]->liga, 'tlnr' => $mannschaft[0]->tln_nr));
    }
    echo CLMContent::createPDFLink('mannschaft', JText::_('PDF_TEAM'), array('layout' => 'team', 'o_nr' => 0, 'saison' => $mannschaft[0]->sid, 'liga' => $mannschaft[0]->liga, 'tlnr' => $mannschaft[0]->tln_nr));
    ?>
	
	</div></div>
    <div class="clr"></div>
    
    <?php 
    if ($lparams['noOrgReference'] == '0') {
        ?>
    <div class="teamdetails">
        <div id="leftalign">
    <?php 
        if ($man_manleader == "1") {
            ?>
        <b><?php 
            echo JText::_('TEAM_LEADER');
Example #10
0
// Stylesheet laden
require_once JPATH_COMPONENT . DS . 'includes' . DS . 'css_path.php';
// CLM-Container
echo '<div ><div id="turnier_paarungsliste">';
// componentheading vorbereiten
$heading = $this->turnier->name . ": " . JText::_('TOURNAMENT_PAIRINGLIST');
if ($this->turnier->published == 0) {
    echo CLMContent::componentheading($heading);
    echo CLMContent::clmWarning(JText::_('TOURNAMENT_NOTPUBLISHED') . "<br/>" . JText::_('TOURNAMENT_PATIENCE'));
} elseif ($this->turnier->rnd == 0) {
    echo CLMContent::componentheading($heading);
    require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu_t.php';
    echo CLMContent::clmWarning(JText::_('TOURNAMENT_NOROUNDS'));
} else {
    // PDF-Link
    echo CLMContent::createPDFLink('turnier_paarungsliste', JText::_('TOURNAMENT_PAIRINGLIST_PRINT'), array('turnier' => $this->turnier->id, 'layout' => 'paarungsliste'));
    if ($jid != 0) {
        echo CLMContent::createPGNLink('turnier_paarungsliste', JText::_('TOURNAMENT_PGN_ALL'), array('turnier' => $this->turnier->id));
    }
    echo CLMContent::componentheading($heading);
    require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu_t.php';
    $turParams = new clm_class_params($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%">';
Example #11
0
    // Spielfreie Teilnehmer finden //
    $diff = $spielfrei[0]->count;
    ?>

	<div class="componentheading">

	<?php 
    echo JText::_('Tabelle');
    echo "&nbsp;" . $liga[0]->name;
    ?>

	<div id="pdf">
	<!--<img src="printButton.png" alt="drucken"  /></a>-->

	<?php 
    echo CLMContent::createPDFLink('tabelle', JText::_('TABELLE_PDF'), array('saison' => $sid, 'layout' => 'tabelle', 'liga' => $lid));
    echo CLMContent::createViewLink('rangliste', JText::_('TABELLE_GOTO_RANGLISTE'), array('saison' => $sid, 'liga' => $lid));
    ?>

	</div></div>
	<div class="clr"></div>

	<?php 
    require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu.php';
    ?>

	<br>

	<table cellpadding="0" cellspacing="0" class="rangliste">
		<tr>
			<th class="rang"><div><?php 
Example #12
0
    // Spielfreie Teilnehmer finden //
    $diff = $spielfrei[0]->count;
    ?>

	<div class="componentheading">

	<?php 
    echo JText::_('Tabelle');
    echo "&nbsp;" . $liga[0]->name;
    ?>

	<div id="pdf">
	<!--<img src="printButton.png" alt="drucken"  /></a>-->

	<?php 
    echo CLMContent::createPDFLink('tabelle', JText::_('einfache Tabelle'), array('saison' => $sid, 'layout' => 'tabelle', 'liga' => $lid));
    echo CLMContent::createViewLink('rangliste', JText::_('TABELLE_GOTO_RANGLISTE'), array('saison' => $sid, 'liga' => $lid));
    ?>

	</div></div>
	<div class="clr"></div>

	<?php 
    require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu.php';
    ?>

	<br>

	<table cellpadding="0" cellspacing="0" class="rangliste">
		<tr>
			<th class="rang"><div><?php 
Example #13
0
    echo CLMContent::clmWarning(JText::_('TOURNAMENT_NOROUNDS'));
} elseif ($this->round->published != 1) {
    echo CLMContent::componentheading($heading);
    require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu_t.php';
    echo CLMContent::clmWarning(JText::_('TOURNAMENT_ROUNDNOTPUBLISHED'));
    // Turnier/Runde kann ausgegeben werden
} else {
    $turParams = new clm_class_params($this->turnier->params);
    if ($this->round->datum != "0000-00-00" and $turParams->get('displayRoundDate', 1) == 1) {
        $heading .= ',&nbsp;' . JHTML::_('date', $this->round->datum, JText::_('DATE_FORMAT_CLM_F'));
        if (isset($this->round->startzeit) and $this->round->startzeit != '00:00:00') {
            $heading .= '  ' . substr($this->round->startzeit, 0, 5) . ' Uhr';
        }
    }
    // PDF-Link
    echo CLMContent::createPDFLink('turnier_runde', JText::_('PDF_TOURNAMENTROUND'), array('turnier' => $this->turnier->id, 'layout' => 'runde', 'dg' => $this->round->dg, 'runde' => $this->round->nr));
    if ($jid != 0) {
        echo CLMContent::createPGNLink('turnier_runde', JText::_('ROUND_PGN_ALL'), array('turnier' => $this->turnier->id, 'dg' => $this->round->dg, 'runde' => $this->round->nr));
    }
    echo CLMContent::componentheading($heading);
    require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu_t.php';
    // 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>' . $this->round->name . '</b>';
    echo '</div>';
    echo '</td></tr>';
    // Ende Kopfzeile
    // headers
Example #14
0
if ($this->turnier->published == 0) {
    echo CLMContent::componentheading($heading);
    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::componentheading($heading);
    require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu_t.php';
    echo CLMContent::clmWarning(JText::_('TOURNAMENT_PLAYERLISTNOTCOMPLETE') . "<br/>" . JText::_('TOURNAMENT_NORANKINGEXISTING'));
} elseif ($spRang != 0 and $this->turnier->playersCount == 0) {
    //Hinzugefügt wegen Sonderranglisten
    echo CLMContent::componentheading($heading);
    require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu_t.php';
    echo CLMContent::clmWarning(JText::_('TOURNAMENT_SPECIALRANKING_NOPLAYERS'));
} else {
    // PDF-Link
    echo CLMContent::createPDFLink('turnier_rangliste', JText::_('TOURNAMENT_RANKING'), array('turnier' => $this->turnier->id, 'layout' => 'rangliste', 'spRang' => $spRang));
    if ($spRang != 0) {
        //Sonderranglisten
        echo CLMContent::createViewLink('turnier_tabelle', JText::_('RANGLISTE_GOTO_TABELLE'), array('turnier' => $this->turnier->id, 'spRang' => $spRang, 'Itemid' => $itemid));
    } else {
        echo CLMContent::createViewLink('turnier_tabelle', JText::_('RANGLISTE_GOTO_TABELLE'), array('turnier' => $this->turnier->id, 'Itemid' => $itemid));
    }
    echo CLMContent::componentheading($heading);
    require_once JPATH_COMPONENT . DS . 'includes' . DS . 'submenu_t.php';
    $turParams = new clm_class_params($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++) {