<? $db = "first_first";
$conn = mysql_connect ("localhost", "first_first", "first99") or die("Connection failed");
mysql_select_db($db);
$charset = "utf-8";
$mime    = (stristr($_SERVER["HTTP_ACCEPT"],"application/xhtml+xml")) ? "application/xhtml+xml" : "text/html";
header("content-type:$mime;charset=$charset");
echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>

<urlset xmlns="https://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.sitemaps.org/schemas/sitemap/0.9 https://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">



<url>
  <loc>https://www.firstchoiceair.com/how-can-we-help-you.php</loc>
  <priority>0.60</priority>
  <lastmod><? echo date("Y-m-d"); ?>T16:31:00+00:00</lastmod>
  <changefreq>weekly</changefreq>
</url>







<?
$brand = mysql_query("SELECT * FROM first_press WHERE parent='144' AND active='1' LIMIT 0,3");
	while ($bra = mysql_fetch_object($brand)){

	$service = mysql_query("SELECT * FROM first_press WHERE parent='146' AND active='1'");
		while ($ser = mysql_fetch_object($service)){
		
			$location = mysql_query("SELECT * FROM first_press WHERE parent='145' AND active='1'");
		while ($loc = mysql_fetch_object($location)){
	?>

<url>
  <loc>https://www.firstchoiceair.com/<? echo $bra->cleanurl; ?>_<? echo $ser->cleanurl; ?>_<? echo $loc->cleanurl; ?>.html</loc>
  <priority>0.60</priority>
  <lastmod><? echo date("Y-m-d"); ?>T16:31:00+00:00</lastmod>
  <changefreq>weekly</changefreq>
</url>
<?
		} //brand
	} //service
}//location
?>










</urlset>