"; //Sitemap generator define('LIBSPATH', '/home/learninc/libslearn/'); // used for global settings like root dir, app name, etc. require(LIBSPATH.'Application.php'); include 'control.php'; //Application_internal is internal path //First we get the array of static files $prepath='http://www.learninc.net/index.php'; $statfiles=Array( //'home'=>Array('path'=>'wp-content/themes/allen-edwin/home.php', //'url'=>'http://www.allenedwin.com' //) ); $addlpaths=Array( //'testimonials'=>Array( // 'url'=>'http://www.allenedwin.com/ae/testimonials' // ), ); foreach ($mainmenu as $ptr=>$val){ $addlpaths[$ptr]=Array('url'=>$prepath.'?mth='.$ptr); if (is_array($submenu[$ptr])){ foreach ($submenu[$ptr] as $subptr){ $addlpaths[$ptr.'|'.$subptr]=Array('url'=>$prepath.'?mth='.$ptr.'&submth='.$subptr); } } } //$sql='select post_title,guid,post_modified,menu_order from wp_posts where menu_order>0 and (post_status="publish" or post_status="static") order by menu_order'; //$wordpressfiles=$DB->queryarray($sql); //Now dynamic files - floorplans, communities //$sql='select floorplanid,ftitle,fmod,fstatus from wa_floorplan where fastatus="Active"'; //$floorplans=$DB->queryarray($sql); ?> $val){?> 1969-12-31 weekly 0.8 $val){?> weekly 0.5