GHAZNI  -  Residents searched coffins for loved ones and scuffed through the ashes of burned buildings as the scale of the devastation in Afghanistan's Ghazni became clear Wednesday, six days after a Taliban assault cut off most communication.

Fighting appeared to have ceased in the provincial capital, just two hours drive from Kabul, nearly a week after the Taliban first launched their assault late Thursday, in the process destroying telecommunications towers and slowing the flow of information from the city to a trickle.

Many residents have already fled the city, adding to the influx of people displaced by violence that has long strained resources in Kabul.

Those left behind have spent days hiding in basements, struggling to keep children and each other calm as the sound of intense ground fighting and US airstrikes boomed overhead.

With food and water growing short, they were warily coming out on to the streets to find loved ones lost and livelihoods destroyed.

Outside of Ghazni's central hospital women and soldiers cautiously inspected the bodies filling wooden caskets scattered near the entrance. There, the corpses of what appeared to be Afghan security forces, Taliban fighters and civilians were left during the melee.

Attendants wore gas masks while others covered their faces with scarves and shawls as they peeled back the sheets covering the corpses and examined the faces of the dead, searching for family members. "We request the government to move the dead bodies piled up in the provincial hospital. People are suffering from the smell of the bodies," said one resident.

With mobile service partially restored to pockets of Ghazni Wednesday for the first time in days, others were frantically calling loved ones, praying for answers.

"Since the morning, I have received about a hundred calls from friends, relatives and colleagues asking if I was alive," said resident Abdul. "Today for the first time someone from the hospital called me to say that my cousin was wounded," said another, Zargham, as he ran toward the medical facility after days of agonising over her fate.

'Nothing left here'

Information coming from the city remains patchy and difficult to verify.

The UN special representative for Afghanistan has said reports indicate that the civilian death toll from the fighting was "immense", with unverified tolls suggesting more than 100 civilians were killed in the clashes.

Officials said at least 100 Afghan security forces had also died in the battle, while US authorities added that hundreds of Taliban fighters were killed.

"We received around a hundred dead bodies - most of which were security forces and police but also there were some civilians among them," said Abdul Basir Ramaki, the head of Ghazni provincial hospital. The carnage unleashed also underscored the devastating economic impact of the nearly 17-year-old conflict.

During the fighting an entire market was razed by the onslaught. Shops and stalls in the sprawling bazaar were reduced to ash by raging fires that may ultimately destroy the livelihoods of the owners. Shopkeepers with scarves woven around their faces shovelled away mountains of ash that had once been their inventory, and picked through the charred ruins trying to find anything salvagable.

"Everyone is hurt financially," said one shopkeeper. "We have nothing much left for us here."

Residents emerge

Afghan forces appeared to have finally pushed Taliban fighters from the strategic city of Ghazni on Wednesday, as shopkeepers and residents warily returned to the streets after days of intense ground fighting and US airstrikes.

Security forces were on patrol and no militants were in sight in the centre of the shattered city, with fighting seeming to have ceased.

But despite the successful clearing operation, the Taliban appeared to have scored a military and psychological victory against Kabul, proving they have the strength to strike a strategically vital city near the capital at will and remain entrenched there for days.

As shopkeepers swept away ashes and began repairing their burned stores, warnings that the insurgents still lurked nearby stoked fears that the battle could flare again.

An AFP reporter saw Taliban forces in at least one village on the outskirts of the city, and residents said they had been told by security forces that the militants remained uncomfortably close.

"The city smelled of blood," shopkeeper Basir Ahmad told AFP after fleeing to Kabul. "People were fearful that the fighting could start again anytime." Afghan troops backed by US air support have struggled to push the insurgents from Ghazni, which lies just two hours south of Kabul by road, since the assault began late Thursday.

Authorities have maintained that the city remained in government hands, saying that swathes had been cleared as of Wednesday.

"Afghan National Army Forces assures people of Ghazni that (the) enemy will not get any chance of disturbing people's normal life," read a statement by the defence ministry, adding that dozens of insurgents had been killed by air strikes and ongoing ground operations.

President Ashraf Ghani called the attack on the city "an unforgivable crime", saying he had instructed authorities to rush food and water supplies to the city.

"Rest assured that the pain of Ghazni is the pain of all the people of Afghanistan, it is especially my pain," said Ghani, after staying largely silent about the attack during the battle.

Fighting was intense'

Ghazni lies along the major Kabul-Kandahar highway, effectively serving as a gateway between Kabul and militant strongholds in the south. The assault on the city has been the largest tactical onslaught since an unprecedented truce in June brought fighting between the Taliban and security forces to a temporary halt, providing war-weary Afghans some relief.

As clearing operations continued, analysts said the Taliban demonstrated considerable strength ahead of possible peace talks, while highlighting the difficulty Afghan forces have in confronting the insurgents, especially in urban areas - even with the backing of US air power.

"The government might have been able to take back the city, but the people's trust in them has been weakened," said retired general and security analyst Atiqullah Amarkhail. "Today, even in Kabul, people may be starting to fear a sudden attack by the Taliban against the city." The United Nations warned of "extreme human suffering" caused by the latest fighting. "Reports indicate that the casualty toll in Ghazni is immense," the UN's special representative in Afghanistan Tadamichi Yamamoto said Wednesday. "Unconfirmed estimates range from 110 to 150 civilian casualties. Reliable information indicates that the Ghazni Public Hospital is overwhelmed by a continuous influx of injured government forces, Taliban fighters and civilians."

He said civilians faced a grim situation, with no power and water and food shortages, while blocked roads were stopping some families from fleeing.

Ghazni residents confirmed that food supplies had run low, and that prices continued to rise.

"My house was just near the front line, the Taliban would force people to bring them food and tea," said Hassan Safari. "For two days we had no water and no food."

Another resident, Shukrullah Nahimi, said his family hid in the basement during the fighting.

"We didn't sleep for two nights as children were crying all the time because of the sound of firing," he said. "Many of the families in our neighbourhood had left."