title = $data; } function keywords($data) { $this->keywords = $data; } function description($data) { $this->description = $data; } function content($data) { $this->content = $data; } function column($data) { $this->column = $data; } function menu($data) { $this->menu = $data; } function getmenu() { $m = ' '; return $m; } function start() { $vystup = '<'.'?xml version="1.0" encoding="utf-8"?'.'> '.$this->title.' '.($this->index == true ? '' : '').'
'.$this->getmenu().'
'.$this->content.'
'.$this->column.'
Restaurant Český dvůr

Husovo nám. 86
266 01 Beroun 1
Mobil: 604 209 333
web: www.restauraceceskydvur.cz
e-mail: info@restauraceceskydvur.cz
Přijímáme stravenky: Ticket restaurant Sodexho Cheque Denejeur

© 20010 Restaurace Český Dvůr Všechna práva vyhrazena. | Created by Jaroslav Beran.

'; echo $vystup; } } function ZiskejDataURL($url) { //$pozkyformulare = array('nick' => 'tenisakb', 'heslo' => 'nejakeheslo'); $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/535.6 (KHTML, like Gecko) Chrome/16.0.897.0 Safari/535.6'); //curl_setopt($ch, CURLOPT_REFERER, 'http://www.google.com'); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60); curl_setopt($ch, CURLOPT_MAXREDIRS, 10); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); //curl_setopt($ch, CURLOPT_POST, true); //curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); //curl_setopt($ch, CURLOPT_POSTFIELDS, $pozkyformulare); $data = curl_exec($ch); if(!curl_exec($ch)) die("error: ".curl_error($ch)); curl_close($ch); return $data; } ?>