File: D:/HostingSpaces/SBogers10/rooymans.komma-mediadesign.nl/wwwroot/sitemap.xml.php
<?php
include("all_kms_con.inc.php");
header("Content-type: text/xml");
$datum = date('Y-m-d');
echo("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
echo("<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">");
?>
<url>
<loc>http://www.rooymansneckwear.nl</loc>
<lastmod><?php echo($datum); ?></lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://www.rooymansneckwear.nl/over-ons</loc>
<lastmod><?php echo($datum); ?></lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://www.rooymansneckwear.nl/producten</loc>
<lastmod><?php echo($datum); ?></lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<?php
$q_producten = "SELECT kms_categories.url FROM kms_categories ORDER BY kms_categories.sort_order ASC";
$r_producten = mysql_query($q_producten);
while($rec_producten = mysql_fetch_assoc($r_producten)){ ?>
<url>
<loc>http://www.rooymansneckwear.nl/producten/<?php echo($rec_producten['url']); ?></loc>
<lastmod><?php echo($datum); ?></lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<?php } ?>
<url>
<loc>http://www.rooymansneckwear.nl/<?php trans('pages.projects.route') ?></loc>
<lastmod><?php echo($datum); ?></lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<?php
$q_portfolioItems = "SELECT kms_portfolio.url FROM kms_portfolio ORDER BY kms_portfolio.naam";
$r_portfolioItems = mysql_query($q_portfolioItems);
while($rec_portfolioItems = mysql_fetch_assoc($r_portfolioItems)){ ?>
<url>
<loc>http://www.rooymansneckwear.nl/<?php trans('pages.projects.route') ?>/<?php echo($rec_portfolioItems['url']); ?></loc>
<lastmod><?php echo($datum); ?></lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<?php } ?>
<url>
<loc>http://www.rooymansneckwear.nl/werkwijze</loc>
<lastmod><?php echo($datum); ?></lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://www.rooymansneckwear.nl/voorraadcollectie</loc>
<lastmod><?php echo($datum); ?></lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://www.rooymansneckwear.nl/webshop</loc>
<lastmod><?php echo($datum); ?></lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://www.rooymansneckwear.nl/contact</loc>
<lastmod><?php echo($datum); ?></lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://www.rooymansneckwear.nl/offerte-aanvragen</loc>
<lastmod><?php echo($datum); ?></lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://www.rooymansneckwear.nl/algemene-voorwaarden</loc>
<lastmod><?php echo($datum); ?></lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://www.rooymansneckwear.nl/disclaimer</loc>
<lastmod><?php echo($datum); ?></lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
<url>
<loc>http://www.rooymansneckwear.nl/sitemap</loc>
<lastmod><?php echo($datum); ?></lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
</urlset>