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(); } } ?>
Ve vybraných turistických informačních centrech v turistické oblasti Beskydy-Valašsko je možno zakoupit Beskydy Valašsko Card.
Karta je platná 6 měsíců od její aktivace.
Dospělý (15+) za 295 Kč
Dítě (2-14,99) za 195 Kč
Bílá 155, Bílá 739 15
Email: ic@nabile.cz
Telefon: +420 725 222 111
Web: www.nabile.cz
Prokešovo náměstí 1803/8, Ostrava 702 00
Email: vez@ostravainfo.cz
Telefon: +420 602 712 920
Web: www.ostravainfo.cz
Trojanovice 1, Trojanovice 742 96
Email: ic@trojanovice.cz
Telefon: +420 556 835 022
Web: www.trojanovice.info
nám. Míru 1, Frenštát pod Radhoštěm 744 01
Email: ic@mufrenstat.cz
Telefon: +420 556 836 916
Web: www.frenstatinfo.cz
40, Hukvaldy 739 46
Email: info@ic-hukvaldy.cz
Telefon: +420 775 886 844
Web: www.ic-hukvaldy.cz
Hlavní 1755, Frýdlant nad Ostravicí 739 11
Email: info@ticfno.cz
Telefon: +420 558 982 200, +420 603 264 058
Web: www.ticfno.cz
náměstí Svobody 6, Frýdek-Místek 738 01
Email: info@ticfm.cz
Telefon: +420 558 646 888, +420 731 158 271
Web: www.ticfm.cz
Zámecké náměstí 1257, Frýdek-Místek 738 01
Email: info@ticfm.cz
Telefon: +420 733 644 884
Web: www.ticfm.cz
400, Ostravice 739 14
Email: knihovnaostravice@seznam.cz
Telefon: +420 558 682 115
Jičínská 54, Příbor 742 58
Email: tic@pribor-mesto.cz
Telefon: +420 556 455 444
Web: www.pribor.eu
Obránců míru 368/1a, Kopřivnice 742 21
Email: ic@koprivnice.cz
Telefon: +420 774 668 001
Web: www.kdk.cz
Čeladná 714, Čeladná 739 12
Email: ic@celadna.cz
Telefon: +420 558 684 400
Web: www.info-celadna.cz
Náměstí 31, Štramberk 742 66
Email: mic@stramberk.cz
Telefon: +420 558 840 617
Web: www.stramberk.info
Masarykovo nám. 45/29, Nový Jičín 741 01
Email: icentrum@novyjicin.cz
Telefon: +420 735 704 070
Web: www.icnj.cz
Jurečkova 1935/12, Ostrava 702 00
Email: elektra@ostravainfo.cz
Telefon: +420 721 770 545
Web: www.ostravainfo.cz
Peterkova 1152/14, Ostrava - Svinov 721 00
Email: svinov@ostravainfo.cz
Telefon: +420 724 166 034
Web: www.ostravainfo.cz
Nádražní 164/215, Ostrava 702 00
Email: privoz@ostravainfo.cz
Telefon: +420 721 562 430
Web: www.ostravainfo.cz
Horní 1664/63a, Ostrava - Jih 700 30
Email: jih@ostravainfo.cz
Telefon: +420 602 751 396
Web: www.ostravainfo.cz
Komenského 1/3, Valašské Meziříčí 75701
Email: info@info-vm.cz
Telefon: +420 775 109 809
Web: http://info-vm.cz
299, Velké Karlovice 75606
Email: icentrum@velkekarlovice.cz
Telefon: +420 571 444 039, +420 724 141 803
Dolní náměstí 1356, Vsetín 75501
Email: ic.vsetin@mvk.cz
Telefon: +420 575 755 144, +420 575 755 111
Web: www.ic-vsetin.cz
Masarykovo náměstí 131, Rožnov pod Radhoštěm 75661
Email: ic@roznov.cz
Telefon: 571 652 444, 571 661 188
Web: www.visitroznov.cz