> '1:Valid' || (var: 'premium.member.status') >> '1:Valid'; // var: 'premium.member.discount' = 1; ///if; /if; var: 'primary_category' = (action_param: 'primary_category'); var: 'sort' = (action_param: 'sort'); //lookup category and see if a sitemap is available; inline: -Database='vdo_store_db', -Table='sitemap', -Keyfield='id', -Op='eq', 'type'='category', -Op='eq', 'category'=$primary_category, -MaxRecords=1, -Search; var: 'sitemap_id' = (field: 'sitemap_id'); var: 'sitemap_title' = (field: 'title'); var: 'sitemap_description' = (field: 'description'); var: 'sitemap_site' = (field: 'site'); var: 'sitemap_category' = (field: 'category'); var: 'sitemap_type' = (field: 'type'); var: 'sitemap_layout' = (field: 'layout'); var: 'sitemap_query_id' = (field: 'query_id'); var: 'sitemap_track_expired' = (field: 'track_expired'); /inline; if: $sitemap_id != ''; var: 'cache_file' = $cache_date+'/'+$geo_code+'/categories/'+$primary_category+'-'+$sitemap_id+'.txt'; var: 'cache_source' = '/common/inc/sitemap/'+$sitemap_layout+'.inc.lasso'; //cache-control - set to expire at days end; if: $sitemap_track_expired == true; var: 'track_expired' = true; var: 'expires_date' = $cache_date+' 23:59:59'; /if; var: 'cacheData' = (include: '/common/config/cache.utility.inc.lasso'); var: 'navigation_category' = 'browse'; include: '/common/inc/category.sitemap.inc.lasso'; else; include: '/common/inc/categories/category.grid.inc.lasso'; /if; include_once: '/common/config/response.footer.inc.lasso'; ?>