<?phpinclude("intranet/db_cnxn.php");//include("z_inc/menu.php");$sections= array(				"business"=>array("Business Sectors","b"),				"risk"=>array("Risk Management","rm"),				"international"=>array("International Standards","i"),				"regulatory"=>array("Regulatory Support","rs"),				"litigation"=>array("Litigation Support","l"),				"consulting"=>array("Consulting Services","cs"),				"thinktank"=>array("Think Tank","t"),			);			header("Content-type: text/xml");echo'<?';?>xml version="1.0" encoding="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">						<url>			  <loc>http://www.freerconsulting.com/</loc>			  <priority>1</priority>			  <changefreq>monthly</changefreq>			</url>			<?php	$sql = "SELECT * FROM content ORDER BY section";	$result = mysql_query($sql);	while ($row = mysql_fetch_array($result)) {		$subsec = ($row['subsection']) ? "/".$row['subsection'] : "";		$sec = (strtolower($row[1]) =='home') ? "" : strtolower($row[1]);		$priority = (strtolower($row[1]) =='home') ? "1" : "0.8";		if (strtolower($row[1]) !='home') {		  echo '<url>				  <loc>http://www.freerconsulting.com/'.$sec.$subsec.'</loc>				  <priority>'.$priority.'</priority>				  <changefreq>monthly</changefreq>				</url>			';		}		}foreach ($sections as $key=>$val) {	 /*echo '<url>			  <loc>http://freerconsulting.com/'.$key.'</loc>			  <priority>0.8</priority>			  <changefreq>monthly</changefreq>			</url>		'; */	$sql = "SELECT * FROM ".$key;	$result = mysql_query($sql);	while ($row = mysql_fetch_array($result)) {	  echo '<url>			  <loc>http://www.freerconsulting.com/'.$key.'/'.$row[9].'</loc>			  <priority>0.5</priority>			  <changefreq>monthly</changefreq>			</url>		';	}}?></urlset>
