Terror attacks 'direct, indirect consequences' of some countries' support to terrorists: Turkish official