They generally are given fair trials. Recently a suspected insurgent was interrogated and frisked for forensic evidence after being found by a company of paras. They found traces of gun powder and he had a bruised shoulder form firing an Ak. Despite this he was released without charge. Contrary to popular belief the vast majority of Afghans are given fair trials. Although I don't know how the rest of ISAF conduct themselves. Frankly I wouldn't be surprised at all to find out methods of coercion and torture are being used.
I think those who actually kill people, intentionally should be either executed or imprisoned for life without parole, depending on the scale of their crimes. Threats deserve prison time but I do not think that ten years is good.
Most captured terrorist are let go after 5 years. The ones who are known criminals are shot on sight. High ranked officials in the Terrorist cell are captured and publicly tried, then usually take an office seat in the government :/