'; ?> '.PAGE_URL.' '.date('Y-m-d').' monthly '; if(SITE_MULTILANGUAGE){ $pagespropfiles = scandir(APP_ABSOLUTEPATH.'pageproperties/'); foreach($pagespropfiles as $pagespropfile){ if(substr($pagespropfile,0,1) == '.') continue; $__PAGESPROP = new pageproperties(APP_ABSOLUTEPATH.'pageproperties/'.$pagespropfile); foreach($__PAGESPROP as $pageid => $pageprop){ if($pageid != '__default'){ $markup .= ' '.PAGE_URL.substr($pagespropfile,0,2).'/'.$pageid.'.html '.date('Y-m-d').' monthly '; } } } }else{ $__PAGESPROP = new pageproperties(APP_ABSOLUTEPATH.'pageproperties/'.DEFAULT_LANGUAGE.'.xml'); foreach($__PAGESPROP as $pageid => $pageprop){ if($pageid != '__default'){ $markup .= ' '.PAGE_URL.$pageid.'.html '.date('Y-m-d').' monthly '; } } } echo $markup; ?>