togli le graffe a

{$smarty.session.risult}

e aggiungi il $ a

{ris.idprodotto}&