/* SHOP */ } elseif ($_GET['type'] == "shop") { ?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"> <?php foreach (kGetLanguages() as $l) { $vars = array("category" => "*", "limit" => 9999, "ll" => $l['ll']); if (isset($_GET['letter'])) { if ($_GET['letter'] != "other") { $vars['conditions'] = "`titolo` LIKE '" . mysql_real_escape_string($_GET['letter']) . "%' "; } else { $vars['conditions'] = "`titolo` RLIKE '^[^[A-Za-z].*'"; } } foreach (kGetShopItemQuickList($vars) as $p) { $md = kGetSeoMetadata(substr($p['permalink'], strlen(kGetSiteURL() . kGetBaseDir()))); if (strpos($md['robots'], "noindex") === false) { ?> <url> <loc><?php echo b3_unhtmlize(kGetSiteURL() . $p['permalink']); ?> </loc> <lastmod><?php echo date("c", mktime(substr($p['modified'], 11, 2), substr($p['modified'], 14, 2), substr($p['modified'], 17, 2), substr($p['modified'], 5, 2), substr($p['modified'], 8, 2), substr($p['modified'], 0, 4))); ?> </lastmod> <changefreq><?php echo $md['changefreq']; ?> </changefreq>
include kGetTemplatePath() . "config.php"; ?> <!DOCTYPE html> <html lang="<?php echo kGetLanguage(); ?> "> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title><?php echo kGetTitle(); ?> </title> <?php $metadata = kGetSeoMetadata(); ?> <meta name="description" content="<?php echo $metadata['description']; ?> " /> <meta name="keywords" content="<?php echo $metadata['keywords']; ?> " /> <meta name="revisit-after" content="<?php echo $metadata['changefreq']; ?> " /> <meta name="viewport" content="width=device-width, initial-scale=.8, user-scalable=yes"> <meta name="apple-mobile-web-app-capable" content="yes">