Lakewood, California Zip Codes: 90712,90713,90714,90715
select cat from directory where is_archived=0 and site_url != '' and (city='lakewood' OR city='lakewood') and (state='CA' OR state='California')
select cat from directory where is_archived=0 and site_url != '' and (city='lakewood' OR city='lakewood') and (state='CA' OR state='California')
union
select cat from affiliate_directory where is_archived=0 and site_url != '' and (FIND_IN_SET('lakewood', city) OR city='all' ) and (state='CA' OR state='California' OR state='all')
56,181,119,107,227,75,163,168,867,1,66,80,197,791
select id,category_name,cat_img,catslug from directory_category where is_archived=0 and category_type='1' and id IN (56,867,1,227) ORDER BY `catorder` ASC Limit 0,2
(select id,site_url,local_address,com_name, COUNT(site_url) as com_num from directory
where is_archived=0 and site_url != '' and (city='gilmanton' OR city='gilmanton') and (state='NH' OR state='New Hampshire') and cat='227' and sub_cat='256' and (sub_sub IS NULL OR sub_sub=0 )
Group by site_url order by com_name asc limit 0,100)
union
(select id,site_url,local_address,affiliate_name as com_name, COUNT(site_url) as com_num from affiliate_directory
where is_archived=0 and site_url != '' and (FIND_IN_SET('gilmanton', city) OR city='all' ) and (state='NH' OR state='New Hampshire' OR state='all') and cat='227' and sub_cat='256' and (sub_sub IS NULL OR sub_sub=0 )
GROUP BY site_url order by com_name asc)
(select id,site_url,local_address,com_name, COUNT(site_url) as com_num from directory
where is_archived=0 and site_url != '' and (city='gilmanton' OR city='gilmanton') and (state='NH' OR state='New Hampshire') and cat='1' and sub_cat='24' and (sub_sub IS NULL OR sub_sub=0 )
Group by site_url order by com_name asc limit 0,100)
union
(select id,site_url,local_address,affiliate_name as com_name, COUNT(site_url) as com_num from affiliate_directory
where is_archived=0 and site_url != '' and (FIND_IN_SET('gilmanton', city) OR city='all' ) and (state='NH' OR state='New Hampshire' OR state='all') and cat='1' and sub_cat='24' and (sub_sub IS NULL OR sub_sub=0 )
GROUP BY site_url order by com_name asc)
(select id,site_url,local_address,com_name, COUNT(site_url) as com_num from directory
where is_archived=0 and site_url != '' and (city='gilmanton' OR city='gilmanton') and (state='NH' OR state='New Hampshire') and cat='1' and sub_cat='1108' and (sub_sub IS NULL OR sub_sub=0 )
Group by site_url order by com_name asc limit 0,100)
union
(select id,site_url,local_address,affiliate_name as com_name, COUNT(site_url) as com_num from affiliate_directory
where is_archived=0 and site_url != '' and (FIND_IN_SET('gilmanton', city) OR city='all' ) and (state='NH' OR state='New Hampshire' OR state='all') and cat='1' and sub_cat='1108' and (sub_sub IS NULL OR sub_sub=0 )
GROUP BY site_url order by com_name asc)