Si tu obtiens "http://www.monsite.com/?fond=http://www.unsite.com", c'est que c'est la seconde boucle (celle qui utilise #URLFOND(#POSTSCRIPTUM)) qui est exécutée.
Si je comprends bien tes boucles, pour le contenu ID=8, tu as une URL externe (donc pas de #URLFOND), et pour les autres une URL interne (donc avec #URLFOND).
Dans ce cas, tu peux simplifier grandement l'écriture :
<THELIA_DECOUVERTE type="CONTENU" dossier="12" id="#CONTENU_ID">
<td width=80>
<TEST_type var="#ID" test="egal" val="8">
<a href="#POSTSCRIPTUM">
</TEST_type>
<a href="#URLFOND(#POSTSCRIPTUM)">
<//TEST_type>
#CHAPO<br>#TITRE</a>
</td>
</THELIA_DECOUVERTE>