var_dump($ID);
SELECT p.type_condition AS pay, o.type_condition AS orders,
n.type_condition AS news, a.type_condition AS other, s.login AS login,
s.telephone AS telephone
FROM
`vixen_erps_services_sms` s
LEFT JOIN
`vixen_erps_services_type` p
ON
p.type_id = s.pay
LEFT JOIN
`vixen_erps_services_type` o
ON
o.type_id = s.orders
LEFT JOIN
`vixen_erps_services_type` n
ON
n.type_id = s.news
LEFT JOIN
`vixen_erps_services_type` a
ON
a.type_id = s.other