Mahmoud Ahmadinejad: Afghanistan's events affect Pakistan and pro-Taliban countries