<?php
	header('Content-type: application/xml');
    include('perch/runtime.php');
    
    
    $domain        = 'http://'.$_SERVER["HTTP_HOST"];
    $url           = $domain.$_SERVER["REQUEST_URI"];
    $sitename      = "Universal Security";

    PerchSystem::set_var('domain',$domain);
    PerchSystem::set_var('url',$url);
    
    
    //find news and pass into array
//    $news_list = perch_blog_custom(array(
//          'template' => '_blog_in_sitemap.html',
//     ), true); 
     
    //set the array for use in the nav template
    //PerchSystem::set_var('newslist', $news_list);
    
    perch_pages_navigation(array(
        'template'=>'sitemap.html',
        'flat'=>true,
        'add-trailing-slash' => true,
      ));
?>
