The Afghan leader says militants are being trained in sanctuaries and centers outside the country .