';
$urls = '';
$count = 0;
foreach ($list_city as $city)
{
$city = strtolower(str_replace(" ", "-", $city));
if ($count != 0)
{
$urls[] .= 'http://'.$start_domain.''.$city.'.'.domain_short.'/';
}
$zipit = explode(",", $list_zip[$count]);
foreach ($zipit as $zip)
{
if ($zip != NULL)
$urls[] .= 'http://'.$start_domain.''.$zip.'.'.domain_short.'/';
}
$neighborhood_l = explode(",", $list_neighborhood[$count]);
foreach ($neighborhood_l as $neighborhood)
{
if ($neighborhood != NULL)
{
$neighborhoodu = strtolower(str_replace(" ", "-", $neighborhood));
$urls[] .= 'http://'.$start_domain.''.$neighborhoodu.'.'.domain_short.'/';
}
}
$count++;
}
$urls = array_unique($urls);
$countall = 0;
foreach ($urls as $ur)
{
foreach ($e_locksmith_exp as $service)
{
if ($countall < 45000)
{
$service_link = strtolower(str_replace(" ", "-", $service));
echo '
'.$ur.''.$service_link.'.html
monthly
0.5
';
}
$countall++;
}
}
echo '
';
?>