コード例 #1
0
 function display($tpl = null)
 {
     $model =& $this->getModel();
     $spieler = $model->getCLMSpieler();
     $this->assignRef('spieler', $spieler);
     $model =& $this->getModel();
     $runden = $model->getCLMRunden();
     $this->assignRef('runden', $runden);
     $model =& $this->getModel();
     $dwz_date_new = $model->getCLMlog();
     $this->assignRef('dwz_date_new', $dwz_date_new);
     $model =& $this->getModel();
     $spielerliste = $model->getCLMSpielerliste();
     $this->assignRef('spielerliste', $spielerliste);
     $model =& $this->getModel();
     $vereinsliste = $model->getCLMVereinsliste();
     $this->assignRef('vereinsliste', $vereinsliste);
     $model =& $this->getModel();
     $saisons = $model->getCLMSaisons();
     $this->assignRef('saisons', $saisons);
     $document =& JFactory::getDocument();
     // Title in Browser
     $headTitle = CLMText::composeHeadTitle(array($spieler[0]->Vereinname, $spieler[0]->Spielername));
     $document->setTitle($headTitle);
     parent::display($tpl);
 }
コード例 #2
0
 function display($tpl = null)
 {
     $model = $this->getModel();
     $liga = $model->getCLMliga();
     $this->assignRef('liga', $liga);
     $model = $this->getModel();
     $remis = $model->getCLMRemis();
     $this->assignRef('remis', $remis);
     $model = $this->getModel();
     $kampflos = $model->getCLMKampflos();
     $this->assignRef('kampflos', $kampflos);
     $model = $this->getModel();
     $heim = $model->getCLMHeim();
     $this->assignRef('heim', $heim);
     $model = $this->getModel();
     $gast = $model->getCLMGast();
     $this->assignRef('gast', $gast);
     $model = $this->getModel();
     $gesamt = $model->getCLMGesamt();
     $this->assignRef('gesamt', $gesamt);
     //$model		= $this->getModel();
     //$spieler	= $model->getCLMSpieler();
     //$this->assignRef('spieler'  , $spieler);
     $model = $this->getModel();
     $bestenliste = $model->getCLMBestenliste();
     $this->assignRef('bestenliste', $bestenliste);
     $model = $this->getModel();
     $mannschaft = $model->getCLMMannschaft();
     $this->assignRef('mannschaft', $mannschaft);
     $model = $this->getModel();
     $brett = $model->getCLMBrett();
     $this->assignRef('brett', $brett);
     $model = $this->getModel();
     $gbrett = $model->getCLMGBrett();
     $this->assignRef('gbrett', $gbrett);
     $model = $this->getModel();
     $rbrett = $model->getCLMRBrett();
     $this->assignRef('rbrett', $rbrett);
     $model = $this->getModel();
     $kbrett = $model->getCLMKBrett();
     $this->assignRef('kbrett', $kbrett);
     $model = $this->getModel();
     $kgmannschaft = $model->getCLMkgMannschaft();
     $this->assignRef('kgmannschaft', $kgmannschaft);
     $model = $this->getModel();
     $kvmannschaft = $model->getCLMkvMannschaft();
     $this->assignRef('kvmannschaft', $kvmannschaft);
     $document = JFactory::getDocument();
     // Title in Browser
     $headTitle = CLMText::composeHeadTitle(array($liga[0]->name, JText::_('LEAGUE_STATISTIK')));
     $document->setTitle($headTitle);
     /* Call the state object */
     $state = $this->get('state');
     /* Get the values from the state object that were inserted in the model's construct function */
     $lists['order'] = $state->get('filter_order_bl');
     $lists['order_Dir'] = $state->get('filter_order_Dir_bl');
     $this->assignRef('lists', $lists);
     parent::display($tpl);
 }
コード例 #3
0
 function display($tpl = null)
 {
     $model =& $this->getModel();
     $document =& JFactory::getDocument();
     // Title in Browser
     $headTitle = CLMText::composeHeadTitle(array($model->turnier->name, JText::_('TOURNAMENT_INVITATION')));
     $document->setTitle($headTitle);
     $this->assignRef('turnier', $model->turnier);
     parent::display($tpl);
 }
コード例 #4
0
 function display($tpl = null)
 {
     $config =& JComponentHelper::getParams('com_clm');
     $model =& $this->getModel();
     $document =& JFactory::getDocument();
     $document->addScript('http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js');
     $document->addScript(JURI::base() . 'components/com_clm/javascript/updateTableHeaders.js');
     // Title in Browser
     $headTitle = CLMText::composeHeadTitle(array($model->turnier->name, JText::_('TOURNAMENT_PARTICIPANTLIST')));
     $document->setTitle($headTitle);
     $this->assignRef('turnier', $model->turnier);
     $this->assignRef('tourn_linkclub', $config->get('tourn_linkclub', 1));
     $this->assignRef('players', $model->players);
     parent::display($tpl);
 }
コード例 #5
0
ファイル: view.html.php プロジェクト: kbaerthel/com_clm
 function display($tpl = null)
 {
     $config = clm_core::$db->config();
     $model = $this->getModel();
     $document = JFactory::getDocument();
     $document->addScript('http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js');
     $document->addScript(JURI::base() . 'components/com_clm/javascript/updateTableHeaders.js');
     // Title in Browser
     $headTitle = CLMText::composeHeadTitle(array($model->turnier->name, JText::_('TOURNAMENT_TABLE')));
     $document->setTitle($headTitle);
     $this->assignRef('turnier', $model->turnier);
     $tourn_linkclub = $config->tourn_linkclub;
     $this->assignRef('tourn_linkclub', $tourn_linkclub);
     $this->assignRef('players', $model->players);
     parent::display($tpl);
 }
コード例 #6
0
 function display($tpl = null)
 {
     $model =& $this->getModel();
     $document =& JFactory::getDocument();
     $document->addScript('http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js');
     $document->addScript(JURI::base() . 'components/com_clm/javascript/updateTableHeaders.js');
     // Title in Browser
     $headTitle = CLMText::composeHeadTitle(array($model->turnier->name, JText::_('TOURNAMENT_RANKING')));
     $document->setTitle($headTitle);
     $this->assignRef('turnier', $model->turnier);
     $this->assignRef('players', $model->players);
     $this->assignRef('posToPlayers', $model->posToPlayers);
     $this->assignRef('matches', $model->matches);
     $this->assignRef('matrix', $model->matrix);
     parent::display($tpl);
 }
コード例 #7
0
ファイル: view.html.php プロジェクト: kbaerthel/com_clm
 function display($tpl = null)
 {
     $config = clm_core::$db->config();
     $googlemaps_api = $config->googlemaps_api;
     $googlemaps = $config->googlemaps;
     $model = $this->getModel();
     $verein = $model->getCLMVerein();
     $this->assignRef('verein', $verein);
     $model = $this->getModel();
     $vereinstats = $model->getCLMVereinstats();
     $this->assignRef('vereinstats', $vereinstats);
     $model = $this->getModel();
     $mannschaft = $model->getCLMMannschaft();
     $this->assignRef('mannschaft', $mannschaft);
     $model = $this->getModel();
     $vereinsliste = $model->getCLMVereinsliste();
     $this->assignRef('vereinsliste', $vereinsliste);
     $model = $this->getModel();
     $saisons = $model->getCLMSaisons();
     $this->assignRef('saisons', $saisons);
     $model = $this->getModel();
     $turniere = $model->getCLMTurniere();
     $this->assignRef('turniere', $turniere);
     $model = $this->getModel();
     $row = $model->getCLMData();
     $this->assignRef('row', $row);
     $model = $this->getModel();
     $name = $model->getCLMName();
     $this->assignRef('name', $name);
     $model = $this->getModel();
     $clmuser = $model->getCLMCLMuser();
     $this->assignRef('clmuser', $clmuser);
     $document = JFactory::getDocument();
     if ($googlemaps == 1) {
         $document->addScript('http://maps.google.com/maps?file=api&v=2&key=' . $googlemaps_api . '');
     }
     // Title in Browser
     if (isset($verein[0])) {
         $headTitle = CLMText::composeHeadTitle(array($verein[0]->name));
         $document->setTitle($headTitle);
     }
     parent::display($tpl);
 }
コード例 #8
0
ファイル: view.html.php プロジェクト: kbaerthel/com_clm
 function display($tpl = null)
 {
     $config = clm_core::$db->config();
     $model = $this->getModel();
     $document = JFactory::getDocument();
     if ($model->pgnShow) {
         $document->addScript(JURI::base() . 'components/com_clm/javascript/jsPgnViewer.js');
         $document->addScript(JURI::base() . 'components/com_clm/javascript/showPgnViewer.js');
         // Zufallszahl
         $now = time() + mt_rand();
         $document->addScriptDeclaration("var randomid = {$now};");
         // pgn-params
         $document->addScriptDeclaration("var param = new Array();");
         $document->addScriptDeclaration("param['fe_pgn_moveFont'] = '" . $config->fe_pgn_moveFont . "'");
         $document->addScriptDeclaration("param['fe_pgn_commentFont'] = '" . $config->fe_pgn_commentFont . "'");
         $document->addScriptDeclaration("param['fe_pgn_style'] = '" . $config->fe_pgn_style . "'");
         // Tooltip-Texte
         $document->addScriptDeclaration("var text = new Array();");
         $document->addScriptDeclaration("text['altRewind'] = '" . JText::_('PGN_ALT_REWIND') . "';");
         $document->addScriptDeclaration("text['altBack'] = '" . JText::_('PGN_ALT_BACK') . "';");
         $document->addScriptDeclaration("text['altFlip'] = '" . JText::_('PGN_ALT_FLIP') . "';");
         $document->addScriptDeclaration("text['altShowMoves'] = '" . JText::_('PGN_ALT_SHOWMOVES') . "';");
         $document->addScriptDeclaration("text['altComments'] = '" . JText::_('PGN_ALT_COMMENTS') . "';");
         $document->addScriptDeclaration("text['altPlayMove'] = '" . JText::_('PGN_ALT_PLAYMOVE') . "';");
         $document->addScriptDeclaration("text['altFastForward'] = '" . JText::_('PGN_ALT_FASTFORWARD') . "';");
         $document->addScriptDeclaration("text['pgnClose'] = '" . JText::_('PGN_CLOSE') . "';");
         // Pfad
         $document->addScriptDeclaration("var imagepath = '" . JURI::base() . "components/com_clm/images/pgnviewer/'");
     }
     // Title in Browser
     $headTitle = CLMText::composeHeadTitle(array($model->turnier->name, JText::_('TOURNAMENT_ROUND') . " " . $model->round->nr));
     $document->setTitle($headTitle);
     $this->assignRef('turnier', $model->turnier);
     $this->assignRef('pgnShow', $model->pgnShow);
     $this->assignRef('displayTlOK', $model->displayTlOK);
     $this->assignRef('round', $model->round);
     $this->assignRef('matches', $model->matches);
     $this->assignRef('points', $model->points);
     // zusätzliche Funktionalitäten
     JHTML::_('behavior.tooltip');
     parent::display($tpl);
 }
コード例 #9
0
ファイル: view.html.php プロジェクト: kbaerthel/com_clm
 function display($tpl = null)
 {
     $config = clm_core::$db->config();
     $model = $this->getModel();
     $document = JFactory::getDocument();
     if ($model->pgnShow) {
         $document->addScript(JURI::base() . 'components/com_clm/javascript/jsPgnViewer.js');
         $document->addScript(JURI::base() . 'components/com_clm/javascript/showPgnViewer.js');
         // Zufallszahl
         $now = time() + mt_rand();
         $document->addScriptDeclaration("var randomid = {$now};");
         // pgn-params
         $document->addScriptDeclaration("var param = new Array();");
         $document->addScriptDeclaration("param['fe_pgn_moveFont'] = '" . $config->fe_pgn_moveFont . "'");
         $document->addScriptDeclaration("param['fe_pgn_commentFont'] = '" . $config->fe_pgn_commentFont . "'");
         $document->addScriptDeclaration("param['fe_pgn_style'] = '" . $config->fe_pgn_style . "'");
         // Tooltip-Texte
         $document->addScriptDeclaration("var text = new Array();");
         $document->addScriptDeclaration("text['altRewind'] = '" . JText::_('PGN_ALT_REWIND') . "';");
         $document->addScriptDeclaration("text['altBack'] = '" . JText::_('PGN_ALT_BACK') . "';");
         $document->addScriptDeclaration("text['altFlip'] = '" . JText::_('PGN_ALT_FLIP') . "';");
         $document->addScriptDeclaration("text['altShowMoves'] = '" . JText::_('PGN_ALT_SHOWMOVES') . "';");
         $document->addScriptDeclaration("text['altComments'] = '" . JText::_('PGN_ALT_COMMENTS') . "';");
         $document->addScriptDeclaration("text['altPlayMove'] = '" . JText::_('PGN_ALT_PLAYMOVE') . "';");
         $document->addScriptDeclaration("text['altFastForward'] = '" . JText::_('PGN_ALT_FASTFORWARD') . "';");
         $document->addScriptDeclaration("text['pgnClose'] = '" . JText::_('PGN_CLOSE') . "';");
         // Pfad
         $document->addScriptDeclaration("var imagepath = '" . JURI::base() . "components/com_clm/images/pgnviewer/'");
     }
     // Title in Browser
     $headTitle = CLMText::composeHeadTitle(array($model->turnier->name, $model->player->name));
     $document->setTitle($headTitle);
     $this->assignRef('turnier', $model->turnier);
     $this->assignRef('pgnShow', $model->pgnShow);
     $tourn_linkclub = $config->tourn_linkclub;
     $this->assignRef('tourn_linkclub', $tourn_linkclub);
     $this->assignRef('player', $model->player);
     $this->assignRef('matches', $model->matches);
     $this->assignRef('joomGalleryPhotosWidth', $model->joomGalleryPhotosWidth);
     $this->assignRef('playerPhoto', $model->playerPhoto);
     parent::display($tpl);
 }
コード例 #10
0
 function display($tpl = null)
 {
     $config =& JComponentHelper::getParams('com_clm');
     $model =& $this->getModel();
     $document =& JFactory::getDocument();
     if ($model->pgnShow) {
         $document->addScript(JURI::base() . 'components/com_clm/javascript/jsPgnViewer.js');
         $document->addScript(JURI::base() . 'components/com_clm/javascript/showPgnViewer.js');
         // Zufallszahl
         $now = time() + mt_rand();
         $document->addScriptDeclaration("var randomid = {$now};");
         // pgn-params
         $document->addScriptDeclaration("var param = new Array();");
         $document->addScriptDeclaration("param['fe_pgn_moveFont'] = '" . $config->get('fe_pgn_moveFont', "#666") . "';");
         $document->addScriptDeclaration("param['fe_pgn_commentFont'] = '" . $config->get('fe_pgn_commentFont', "#888") . "';");
         $document->addScriptDeclaration("param['fe_pgn_style'] = '" . $config->get('fe_pgn_style', "png") . "';");
         // Tooltip-Texte
         $document->addScriptDeclaration("var text = new Array();");
         $document->addScriptDeclaration("text['altRewind'] = '" . JText::_('PGN_ALT_REWIND') . "';");
         $document->addScriptDeclaration("text['altBack'] = '" . JText::_('PGN_ALT_BACK') . "';");
         $document->addScriptDeclaration("text['altFlip'] = '" . JText::_('PGN_ALT_FLIP') . "';");
         $document->addScriptDeclaration("text['altShowMoves'] = '" . JText::_('PGN_ALT_SHOWMOVES') . "';");
         $document->addScriptDeclaration("text['altComments'] = '" . JText::_('PGN_ALT_COMMENTS') . "';");
         $document->addScriptDeclaration("text['altPlayMove'] = '" . JText::_('PGN_ALT_PLAYMOVE') . "';");
         $document->addScriptDeclaration("text['altFastForward'] = '" . JText::_('PGN_ALT_FASTFORWARD') . "';");
         $document->addScriptDeclaration("text['pgnClose'] = '" . JText::_('PGN_CLOSE') . "';");
         // Pfad
         $document->addScriptDeclaration("var imagepath = '" . JURI::base() . "components/com_clm/images/pgnviewer/'");
     }
     // Title in Browser
     $headTitle = CLMText::composeHeadTitle(array($model->turnier->name, JText::_('TOURNAMENT_PAIRINGLIST')));
     $document->setTitle($headTitle);
     $this->assignRef('turnier', $model->turnier);
     $this->assignRef('pgnShow', $model->pgnShow);
     $this->assignRef('displayTlOK', $model->displayTlOK);
     $this->assignRef('players', $model->players);
     $this->assignRef('rounds', $model->rounds);
     $this->assignRef('matches', $model->matches);
     parent::display($tpl);
 }