Exemple #1
0
    /* 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>
Exemple #2
0
			<div class="languages">
				<?php 
kPrintLanguages();
?>
			</div>
			<div class="clearBoth"></div>
		</div>
	</div>
</div>

<div id="header">
	<div class="row">
		<div class="grid w12">
			<div id="logo">
				<h2><a href="<?php 
echo kGetBaseDir();
?>
"><?php 
if ($display_logo == true) {
    ?>
<img src="<?php 
    echo kGetTemplateDir();
    ?>
img/logo.png" alt="<?php 
    echo kGetSiteName();
    ?>
"><?php 
} else {
    echo kGetSiteName();
}
?>