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(); } } ?>
Profitieren Sie von 60 Unterkunftsanbietern
Die Karte ist ab dem Zeitpunkt ihrer Aktivierung 12 Monate gültig
vše (61) | Valašské Meziříčí (2) | Zubří (1) | Prostřední Bečva (1) | Karolinka (4) | Krásná (1) | Bílá (6) | Staré Hamry (1) | Pstruží (1) | Kunčice pod Ondřejníkem (4) | Ostravice (4) | Čeladná (2) | Příbor (2) | Frenštát pod Radhoštěm (2) | Šenov u Nového Jičína (1) | Hukvaldy (1) | Trojanovice (2) | Rožnov pod Radhoštěm (5) | Vigantice (1) | Baška (1) | Ratiboř (1) | Hutisko-Solanec (4) | Velké Karlovice (7) | Horní Bečva (5) | Nový Hrozenkov (2)
Bílá 143, Bílá 73915
E-Mail: rezervace@apartmanynafare.cz
Telefon: +420 725 222 113
Kunčice pod Ondřejníkem 8, Kunčice pod Ondřejníkem 739 13
E-Mail: info@hresort.cz
Telefon: +420 725 252 400, +420 725 252 403
Web: www.hresort.cz
10, Kunčice pod Ondřejníkem 73913
E-Mail: info@farma-mensik.cz
Telefon: 736 180 388
Web: www.farma-mensik.cz
Čeladná 809 E, Čeladná 73912
E-Mail: recepce@lorkovavila.cz
Telefon: 555 508 955
Web: www.lorkovavila.cz
957, Ostravice 73914
E-Mail: info@hotelondras.com
Telefon: +420 558 640 197, +420 739 317 740
Web: www.hotelondras.com