You dont understand anything then, Pakistan is friends with you only because you both hate India. "Enemy of your enemy is your friend" is a good proverb only as long as the common enemy is a threat. In foreign relations there is no such thing as friendship only mutual interests as they say. Pakistan is friend of China also because they have no other options, US wont supply weapons to Pak to use against India any more, Russia wont supply weapons either, they are pals with China only out of desperation. If India was not part of Asia then Pakistan would have been your arch enemy supporting the Uygurs.
Their ideology is to fight for Islam be it against America, India or even China. Pakistan was a close friend of US long before China was but we all know how it betrays the US time and again. For a Muslims and Uygur muslim is his brother and that is why the fanatic muslims inside ISI support the Uygurs against China. All this wont sink into you now anyway.
You compare India supporting Dalia Lama to Pakistan supporting violent terrorists, then your out of your mind.
US just handed a Perry class frigate to Pakistan, is that a sign that US won't give any more arms to Pakistan? Russia is busy supplying RD-93 turbofan to be fitted on JF-17, another sign Pakistan is being isolated? There is no denying that there are elements inside the pakistani state machine that hold extreme view and are connected to the various terrorist organizations, but it is wrong to generalize this to the pakistani government as whole.
As Dalai Lama and his seperatist movement or the radical islamists, which is more dangerous, depends on where you stand. From china's point of view Dalai and his gangs pose a far greater danger to China. Relatively speaking, China is quite safe from islamists terrosist attacks for the following reasons:
1. In china, the muslim populations don't mix with the han majority who populate the more prosperous eastern part
2. uigurs look different, and han chinese generally view strangers with suspiction from onset, thus it is very difficult for them to infiltrate into the general population
3. islam has very little appear to most chinese who are usually among the least religious, even in ancient times.
BTW, uigurs are ethnically not related to the pakistanis, if they were, it would be a whole different situation.