require_once("xml_writer.class.php"); class SitemapGenerator { private $w; public function WriteHeader($filename, $encoding = null) { $this->w = new MyXmlWriter($filename); $this->w->WriteXMLDeclaration("1.0", $encoding); $this->w->WriteBeginTag("urlset"); $this->w->WriteAttribute("xmlns:xsi", "http://www.sitemaps.org/schemas/sitemap/0.9"); $this->w->WriteAttribute("xsi:schemaLocation","http://www.sitemaps.org/schemas/sitemap/0.9 \n". "http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"); $this->w->WriteAttribute("xmlns","http://www.sitemaps.org/schemas/sitemap/0.9"); } public function WriteHeaderVideo($filename, $encoding = null) { $this->w = new MyXmlWriter($filename); $this->w->WriteXMLDeclaration("1.0", $encoding); $this->w->WriteBeginTag("urlset"); $this->w->WriteAttribute("xmlns:video", "http://www.google.com/schemas/sitemap-video/1.1"); $this->w->WriteAttribute("xmlns","http://www.sitemaps.org/schemas/sitemap/0.9"); } public function WriteHeaderPhoto($filename, $encoding = null) { $this->w = new MyXmlWriter($filename); $this->w->WriteXMLDeclaration("1.0", $encoding); $this->w->WriteBeginTag("urlset"); $this->w->WriteAttribute("xmlns:image", "http://www.google.com/schemas/sitemap-image/1.1"); $this->w->WriteAttribute("xmlns","http://www.sitemaps.org/schemas/sitemap/0.9"); } public function WriteFooter() { $this->w->CloseTag(); //urlset } public function GenerateURLsFromResource($res) { /* parsing passed resource */ while ($item = mysql_fetch_object($resource)) { $loc = ""; $lastmod =""; $changefreq = ""; $priority = ""; if (array_key_exists("loc", $item)) $loc = $item->loc; if (array_key_exists("lastmod", $item)) $lastmod = $item->lastmod; if (array_key_exists("priority", $item)) $priority = $item->priority; if (array_key_exists("changefreq", $item)) $changefreq = $item->changefreq; $this->GenerateUrl($loc, $lastmod, $priority, $changefreq); } } public function GenerateUrl($loc, $lastmod = "", $priority = "", $changefreq = "") { $this->w->WriteBeginTag("url"); if ($loc != "") $this->w->WriteSimpleTextNode("loc", $loc); if ($lastmod != "") $this->w->WriteSimpleTextNode("lastmod", $lastmod); if ($priority != "") $this->w->WriteSimpleTextNode("priority", $priority); if ($changefreq != "") $this->w->WriteSimpleTextNode("changefreq", $changefreq); $this->w->CloseTag(); } public function GenerateVideo($loc, $lastmod = "", $priority = "", $changefreq = "",$thumb_loc,$video_loc,$title, $description) { $this->w->WriteBeginTag("url"); if ($loc != "") $this->w->WriteSimpleTextNode("loc", $loc); if ($lastmod != "") $this->w->WriteSimpleTextNode("lastmod", $lastmod); if ($priority != "") $this->w->WriteSimpleTextNode("priority", $priority); if ($changefreq != "") $this->w->WriteSimpleTextNode("changefreq", $changefreq); $this->w->WriteBeginTag("video:video"); $this->w->WriteSimpleTextNode("video:thumbnail_loc", $thumb_loc); $this->w->WriteSimpleTextNode("video:player_loc", $video_loc); $this->w->WriteSimpleTextNode("video:title", $title); if($description != "") $this->w->WriteSimpleTextNode("video:description", $description); $this->w->CloseTag(); $this->w->CloseTag(); } public function GeneratePhoto($loc, $lastmod = "", $priority = "", $changefreq = "",$img_loc,$img_caption,$img_title) { $this->w->WriteBeginTag("url"); if ($loc != "") $this->w->WriteSimpleTextNode("loc", $loc); if ($lastmod != "") $this->w->WriteSimpleTextNode("lastmod", $lastmod); if ($priority != "") $this->w->WriteSimpleTextNode("priority", $priority); if ($changefreq != "") $this->w->WriteSimpleTextNode("changefreq", $changefreq); $this->w->WriteBeginTag("image:image"); $this->w->WriteSimpleTextNode("image:loc", $img_loc); if($img_caption != "") $this->w->WriteSimpleTextNode("image:caption", $img_caption); if($img_title != "") $this->w->WriteSimpleTextNode("image:title", $img_title); $this->w->CloseTag(); $this->w->CloseTag(); } } ?> require_once("xml_writer.class.php"); class SitemapGeneratorMain { private $w; public function WriteHeader($filename, $encoding = null) { $this->w = new MyXmlWriter($filename); $this->w->WriteXMLDeclaration("1.0", $encoding); $this->w->WriteBeginTag("sitemapindex"); $this->w->WriteAttribute("xmlns", "http://www.sitemaps.org/schemas/sitemap/0.9"); } public function WriteFooter() { $this->w->CloseTag(); } public function GenerateSitemap($loc, $lastmod = "") { $this->w->WriteBeginTag("sitemap"); if ($loc != "") $this->w->WriteSimpleTextNode("loc", $loc); if ($lastmod != "") $this->w->WriteSimpleTextNode("lastmod", $lastmod); $this->w->CloseTag(); } } ?>
Trojanovice 530, Trojanovice 744 01
Email: recepce@troyer.cz
Telefon: +420 556 802 007, +420 739 600 513
Web: www.troyer.cz
20% sleva na 18 jamkový adventure minigolf
Sleva
20 %
Nad Přehradou 2447, Frýdek-Místek 73801
Email: aquapark@sportplex.cz
Telefon: 558 638 754
Web: www.aquapark-olesna.cz/kryty-aquapark/oteviraci-doba/
20% sleva z ceny základního a zvýhodněného vstupného do bazénové části krytého aquaparku ve všední dny
Sleva
20 %
Husova 49, Kopřivnice 74221
Email: spsk@koprivnice.org
Telefon: +420 737 207 297
Web: spsk.koprivnice.org
Sleva 20% na vstup
Sleva
20 %
Nošovice 238, Nošovice 739 51
Email: exkurze@radegast.cz
Telefon: 558 602 566
Web: www.radegast.cz
Sleva na prohlídku s degustací
Sleva
30 %
Jiřího Trnky 82, Frýdek-Místek 73801
Email: restaurace@pivovarekmorava.cz
Telefon: 702294871
Sleva 20 % na exkurzi do pivovaru
Sleva
20 %
Jasenice 596, Vsetín 755 01
Email: rezervace@uvychopnu.com
Telefon: +420 571432039
Web: www.adventure-golf-uvychopnu.com
Sleva 20% na hru
Sleva
20 %
Velké Karlovice, Velké Karlovice 756 06
Email: icentrum@velkekarlovice.cz
Telefon: +420 571 444 039
Web: www.velkekarlovice.cz/rekreace-sport/letni-sporty/koupaliste
Sleva 25% na vstup
Sleva
25 %
175, Zděchov 756 07
Email: obec@zdechov.cz
Telefon: +420 724178680
Web: www.zdechov.cz/koupaliste/ds-1025
Sleva 20% na vstup
Sleva
20 %
Hážovice 2070, Rožnov pod Radhoštěm 756 06
Email: info@zerlina.cz
Telefon: +420 731 216 911
Web: www.zerlina.cz
Sleva na exkurzi včetně ochutnávky kozích produktů farmy
Sleva
20 %
751, Velké Karlovice 75606
Email: statek@urajmunda.cz
Telefon: +420 604 484 404
Web: www.urajmunda.cz
Prohlídka Statku u Rajmunda - sleva 20 %
Projížďka na koni pro děti na Statku u Rajmunda - sleva 20 %
Sleva
20 %
Kulturní 1794, Rožnov pod Radhoštěm 756 61
Email: info@valasskapevnost.cz
Telefon: +420 724 272 332
Web: valasskapevnost.cz
sleva 20% na hru
Sleva
20 %
Velké Karlovice 1143, Velké Karlovice 756 06
Email: vodnisvet@resortkycerka.cz
Telefon: +420 576 774 488
Web: www.resortkycerka.cz/vodni-svet-velke-karlovice
Sleva 20 % z aktuálního ceníku na vstup do bazénu a klidové zóny
Sleva
20 %
Léskové 583, Velké Karlovice 756 06
Email: horal@valachy.cz
Telefon: +420 571 495 500
Web: www.valachy.cz/horal
GOLF PRO KAŽDÉHO NA VALAŠSKU - sleva 20 %na 1,5hodinový golfový balíček (2 dospělí a až 3 děti)
BOWLING V HOTELU HORAL - sleva 20 % - Dvě bowlingové dráhy a plno zábavy (v ceně také zapůjčení bowlingové obuvi).
Skipas na sjezdovce Horal - sleva 20%