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(); } } ?> 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(); } } ?> USE BENEFITS FOR OVER 100 SERVICES - Beskydy Valašsko Card

Museum in Velké Karlovice

Museum in Velké Karlovice

Velké Karlovice 299, Velké Karlovice 756 06

E-mail: muzeum@velkekarlovice.cz

Phone No.: +420 571 444 019

Web: www.velkekarlovice.cz/infocentrum/o-karlovskem-muzeu

25% discount on entry

Swimming pool in Velké Karlovice

Swimming pool in Velké Karlovice

Velké Karlovice, Velké Karlovice 756 06

E-mail: icentrum@velkekarlovice.cz

Phone No.: +420 571 444 039

Web: www.velkekarlovice.cz/rekreace-sport/letni-sporty/koupaliste

25% discount on entry

Ski resort Synot Kyčerka

Ski resort Synot Kyčerka

Velké Karlovice č. p. 920, Velké Karlovice 756 05

E-mail: info@skiarealkycerka.cz

Phone No.: +420 733 522 481

Web: www.skiarealkycerka.cz

Facebook

20% discount on the ski pass

SPA hotel Lanterna ****

SPA hotel Lanterna ****

Léskové 659, Velké Karlovice 756 06

E-mail: lanterna@valachy.cz

Phone No.: +420 571 477 300

Web: www.lanterna.cz

Facebook

GOLF FOR EVERYONE IN WALAŠKA - 20% discount on a 1.5-hour golf package at the Horal Golf Course (2 adults and up to 3 children)

BOWLING AT THE HORAL HOTEL - 20% discount - Two bowling alleys and lots of fun (rental of bowling shoes included).

Farmhouse at Raymond's

Farmhouse at Raymond's

751, Velké Karlovice 75606

E-mail: statek@urajmunda.cz

Phone No.: +420 604 484 404

Web: www.urajmunda.cz

Facebook

Tour of the Farmhouse at Raymond's - 20 % discount

Horse riding for children at the Farmhouse at Raymond's - 20 % discount

The water world of Velká Karlovice

The water world of Velká Karlovice

Velké Karlovice 1143, Velké Karlovice 756 06

E-mail: vodnisvet@resortkycerka.cz

Phone No.: +420 576 774 488

Web: www.resortkycerka.cz/vodni-svet-velke-karlovice

Facebook

20% discount on entry from the current price list

Wellness hotel Horal ***

Wellness hotel Horal ***

Léskové 583, Velké Karlovice 756 06

E-mail: horal@valachy.cz

Phone No.: +420 571 495 500

Web: www.valachy.cz/horal

Facebook

BOWLING AT THE HORAL HOTEL - 20% discount - Two bowling alleys and lots of fun (rental of bowling shoes included).