<?php
/**
 * @ Chess League Manager (CLM) Component 
 * @Copyright (C) 2008-2022 CLM Team.  All rights reserved
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @link http://www.chessleaguemanager.de
 * @author Thomas Schwietert
 * @email fishpoke@fishpoke.de
 * @author Andreas Dorn
 * @email webmaster@sbbl.org
*/

jimport( 'joomla.application.component.view');

class CLMViewMannschaft extends JViewLegacy
{
	function display($tpl = "raw")
	{
		$model	  = $this->getModel();
  		$mannschaft     = $model->getCLMMannschaft();
		$this->mannschaft = $mannschaft;

		$model	  = $this->getModel();
  		$vereine     = $model->getCLMVereine();
		$this->vereine = $vereine;

		$model	  = $this->getModel();
  		$count     = $model->getCLMCount();
		$this->count = $count;

		$model	  = $this->getModel();
  		$bp     = $model->getCLMBP();
		$this->bp = $bp;

		$model	  = $this->getModel();
  		$sumbp     = $model->getCLMSumBP();
		$this->sumbp = $sumbp;

		$model	  = $this->getModel();
  		$plan     = $model->getCLMSumPlan();
		$this->plan = $plan;

		$model	  = $this->getModel();
		$termin     = $model->getCLMTermin();
		$this->termin = $termin;

		$model	  = $this->getModel();
		$saison     = $model->getCLMSaison();
		$this->saison = $saison;

		$model	  = $this->getModel();
		$einzel     = $model->getCLMEinzel();
		$this->einzel = $einzel;
		
		$html	= clm_core::$load->request_string('html','1');
		if($html !="1"){
			$document =JFactory::getDocument();
			$document->setMimeEncoding('text/css');
		}

		parent::display($tpl);
	}	
}
?>
