switch arTemplate SUBJECT_TREATMENT case Автомобили case Силовая техни

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
switch($arTemplate["SUBJECT_TREATMENT"])
{
case "Автомобили":
case "Силовая техника":
case "":
$email = "info@sun-master.ru";
break;
case "Сервисное обслуживание":
$email = "service@sun-master.ru";
$emailCopy = "info@sun-master.ru, reklama@sun-master.ru";
break;
}