if ($m['addr'] == 'new') $action_name = 'Добавить'; else { $action_name = 'Изменить'; $a = db_search_one('dns', ['addr'=>$m['addr']]); } ?>