<?php
header ("Content-type: text/xml");
echo ("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n");
?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 0") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-1</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 50") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-2</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 100") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-3</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 150") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-4</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 200") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-5</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 250") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-6</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 300") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-7</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 350") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-8</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 400") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-9</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 450") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-10</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 500") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-11</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 550") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-12</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?>
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 600") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-13</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?>
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 650") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-14</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?>
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 700") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-15</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 750") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-16</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 800") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-17</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 850") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-18</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 900") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-19</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
<?php
include("FeW34Tgi95tgJj7/config.php");
$result = mysql_query("SELECT cat_id,title,description,UNIX_TIMESTAMP(datetime) AS pubDate FROM `ccs_store_inventory` GROUP BY cat_id HAVING COUNT(cat_id) > 950") or die (mysql_error());
while ($row = mysql_fetch_array ($result)) {
?>
   <url>
    <loc>https://www.mytub.co.uk/<? echo strtolower(str_replace(' ', '-', $row['cat_id'])); ?>-products-20</loc>
    <lastmod><?=date('Y-m-d', $row['pubDate']);?></lastmod>
    <changefreq>monthly</changefreq>
   </url>  
<? } ?> 
</urlset>