<?php
header("Content-Type: application/xml; charset=utf-8");
?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 
            http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
    
    <!-- Sitemap -->
    <?php if(isset($c_list) && !empty($c_list)) { foreach($c_list as $item) {
    if(isset($item->page_slug) && !empty($item->page_slug)){ ?>
    <url>
        <loc><?php echo SITEMAP_BASE_PATH_URL.$item->page_slug; ?></loc>
        <priority>0.9</priority>
        <changefreq>daily</changefreq>
    </url>
    <?php } } } ?>

</urlset>