_CURRENT_PAGE == "subpage"){ $pid = (int)$site->_SURI_PARTS[1]; if(!empty($pid)){ $sp = new Chili_Site_Subpage($pid); $title = $title = 'LP Racing - ' . $sp->getData()->title_tag; $description = $sp->getData()->description; $keywords = $sp->getData()->keywords; } } elseif($site->_CURRENT_PAGE == "news"){ $nID = (int)$site->_SURI_PARTS[1]; if(!empty($nID)){ $nh = new LPR_News(); $n = $nh->getDetails($nID); $sp = new Chili_Site_Subpage($pid); $title = 'LP Racing - ' . $n->title; } else { $title = 'LP Racing - Hírek'; } } else { throw new Exception("Unknown type"); } } catch(Exception $ex){ $title = "LP-Racing Team"; $description = "LP Racing tereprally team. Lónyai Pál és Garamvölgyi Zoltán magyar tereprally bajnokság"; $keywords = "LP Racing, LP racing tereprally team, LP racing terep ralli, Lónyai Pál terep ralli csapat, magyar tereprally bajnokság"; } ?>
_LAYOUT_PATH; ?>