/******************************************************************************* doorGets 7.0 - 31, August 2015 doorGets it's free PHP Open Source CMS PHP & MySQL Copyright (C) 2012 - 2015 By Mounir R'Quiba -> Crazy PHP Lover /******************************************************************************* Website : http://www.doorgets.com Contact : http://www.doorgets.com/t/en/?contact /******************************************************************************* -= One life, One code =- /******************************************************************************* This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. ****************************************************************************** ******************************************************************************/ $rss = new GenRss(); echo $rss->Get();
public function getHtmlHeader() { extract($this->meta); $lgFacebook = 'fr_FR'; switch ($this->myLanguage) { case 'en': $lgFacebook = 'en_US'; break; case 'de': $lgFacebook = 'de_DE'; break; case 'it': $lgFacebook = 'it_IT'; break; case 'ru': $lgFacebook = 'ru_RU'; break; case 'pl': $lgFacebook = 'pl_PL'; break; case 'tu': $lgFacebook = 'tr_TR'; break; case 'su': $lgFacebook = 'sv_SE'; break; case 'es': $lgFacebook = 'es_LA'; break; case 'po': $lgFacebook = 'pt_BR'; break; } $rss = new GenRss(1); $rssLinks = $rss->getAllToRssLink(); $url = PROTOCOL . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; $base_data = URL . 'data/' . $this->module . '/'; $tplHeader = Template::getWebsiteView('header', $this->getTheme()); ob_start(); if (is_file($tplHeader)) { include $tplHeader; } $out = ob_get_clean(); return $out; }
public function getHtmlHeader() { extract($this->meta); $lgFacebook = 'fr_FR'; switch ($this->myLanguage) { case 'en': $lgFacebook = 'en_US'; break; case 'de': $lgFacebook = 'de_DE'; break; case 'it': $lgFacebook = 'it_IT'; break; case 'ru': $lgFacebook = 'ru_RU'; break; case 'pl': $lgFacebook = 'pl_PL'; break; case 'tu': $lgFacebook = 'tr_TR'; break; case 'su': $lgFacebook = 'sv_SE'; break; case 'es': $lgFacebook = 'es_LA'; break; case 'po': $lgFacebook = 'pt_BR'; break; } $rss = new GenRss(1); $rssLinks = $rss->getAllToRssLink(); $url = PROTOCOL . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; $bootstrap_version = array_key_exists('bootstrap_version', $_SESSION) && array_key_exists($_SESSION['bootstrap_version'], Constant::$bootstrapThemes) ? $_SESSION['bootstrap_version'] : $this->configWeb['theme_bootstrap']; $tplHeader = Template::getWebsiteUserView('header', $this->getTheme()); ob_start(); if (is_file($tplHeader)) { include $tplHeader; } $out = ob_get_clean(); return $out; }