Afghanistan: terror attacks as US official visits