file_get_contents('http://touren.dolcevitahotels.com/touren.xml.php?typ=biken&lang=fr')11 $this->type = $type; 12 $this->name = 'tour_'.$this->type.'_'.$this->lang; 13 } 14 15 protected function getExternalValue() { 16 $xmlcontent = file_get_contents('http://touren.dolcevitahotels.com/touren.xml.php?typ='.$this->type.'&lang='.$this->lang); 17 if($xmlcontent !== false) { 18 try { 19 $tourdata = json_decode(json_encode(simplexml_load_string($xmlcontent, null, LIBXML_NOCDATA)), true); 20 $this->setValue($tourdata['tour']); 21 } catch(Exception $e) {}
getExternalValue()
59 $name = $this->name; 60 $cache = Mysql::inst()->getFirst('SELECT value, UNIX_TIMESTAMP(expire) AS expire FROM cache WHERE <<name>>', compact('name')); 61 $value = $cache['value']; 62 // Wenn der Wert verfallen ist wird er neu generiert und geladen. Beim Laden wird der verfallene Wert mitgegeben falls das generieren scheitert 63 if($cache['expire'] < time()) { 64 $this->getExternalValue(); 65 if($expired) 66 $value = $expired; 67 else 68 return $this->getValue($name, $value); 69 }
getValue()
119 </script> 120 </tpl:js> 121 <tpl:article> 122 <? 123 $tourapi = new TourAPI(SYS_LANG, $tourtype); 124 $tours = $tourapi->getValue(); 125 if(count($tours)) { 126 if($tourtype == 'biken') { 127 ?> 128 129 <div>
include('/www/htdocs/w01a2832/projekte/kunden/dolcevitahotels.com_old/page/touren.php')06 if(strpos(ob_get_contents(), "\xEF\xBB\xBF") !== false) 07 die('BOM!'); 08 09 // Die Seite wird geladen und in Variable gespeichert 10 $debug->timeStart('template page'); 11 include($include); 12 $debug->timeEnd('template page'); 13 $page = trim(ob_get_clean()); 14 15 // Neuer Ausgabe Buffer wird gestartet 16 ob_start('ob_gzhandler');
include('/www/htdocs/w01a2832/projekte/kunden/dolcevitahotels.com_old/sys/template.php')1828 */ 1829 function sys_template($include) { 1830 extract($GLOBALS, EXTR_SKIP); 1831 if(!file_exists_cache($include)) 1832 $include = 'template/sys/404.php'; 1833 include('sys/template.php'); 1834 } 1835 1836 /** 1837 * @version 1.0.2 1838 */
sys_template('page/touren.php')88 89 // Eventuell Variablen extrahieren und bereitstellen 90 $syssite = explode('?', $content_html['sys'], 2); 91 if($syssite[1]) parse_str($syssite[1], $sys_query); 92 93 sys_template('page/'.$syssite[0]); 94 95 // Physische Dateien werden geladen 96 } elseif(($navid = navigation_urlnav(SYS_URL)) && file_exists_cache($include = sys_var('menu/?/'.$navid.'/file'))) { 97 if(count(sys_var('menu/?/'.SYS_NAV.'/get'))) $_GET = array_merge($_GET, sys_var('menu/?/'.SYS_NAV.'/get')); 98 sys_template($include);
include('/www/htdocs/w01a2832/projekte/kunden/dolcevitahotels.com_old/router.php')18 ob_start(); 19 20 session_name(str_replace(array('www.', '.'), '', $_SERVER['HTTP_HOST'])); 21 @session_start(); 22 23 include('router.php'); 24 25 $debug->end($_GET['sys']);
Root Pfad: /www/htdocs/w01a2832/projekte/kunden/dolcevitahotels.com_old/
Request URL: /fr/vacances-actives/recommandations-de-randonnee/randonnees-cyclistes
Referer URL:
Post Variablen: Array
(
)