public function getTemplateParameters()
 {
     $lastExecutionTimestamp = YouthPlayersDataService::getLastScoutingExecutionTime($this->_websoccer, $this->_db, $this->_websoccer->getUser()->getClubId($this->_websoccer, $this->_db));
     $nextPossibleExecutionTimestamp = $lastExecutionTimestamp + $this->_websoccer->getConfig("youth_scouting_break_hours") * 3600;
     $now = $this->_websoccer->getNowAsTimestamp();
     $scouts = array();
     $countries = array();
     $scoutingPossible = $nextPossibleExecutionTimestamp <= $now;
     if ($scoutingPossible) {
         $scoutId = (int) $this->_websoccer->getRequestParameter("scoutid");
         if ($scoutId > 0) {
             $countries = YouthPlayersDataService::getPossibleScoutingCountries();
         } else {
             $scouts = YouthPlayersDataService::getScouts($this->_websoccer, $this->_db);
         }
     }
     return array("lastExecutionTimestamp" => $lastExecutionTimestamp, "nextPossibleExecutionTimestamp" => $nextPossibleExecutionTimestamp, "scoutingPossible" => $scoutingPossible, "scouts" => $scouts, "countries" => $countries);
 }