Dans modules/adslight/print.php
Remplacer :
$result = $xoopsDB->query("select l.lid, l.title, l.expire, l.type, l.desctext, l.tel, l.price, l.typeprice, l.date, l.email, l.submitter, l.town, l.country, l.photo, p.cod_img, p.lid, p.uid_owner, p.url FROM ".$xoopsDB->prefix("adslight_listing")." l LEFT JOIN ".$xoopsDB->prefix("adslight_pictures")." p ON l.lid=p.lid where l.lid=".mysql_real_escape_string($lid)."");
list($lid, $title, $expire, $type, $desctext, $tel, $price, $typeprice, $date, $email, $submitter, $town, $country, $photo, $cod_img, $pic_lid, $uid_owner, $url) = $xoopsDB->fetchRow($result);
Par :
$result = $xoopsDB->query("select l.lid, l.title, l.expire, l.type, l.desctext, l.tel, l.price, l.typeprice, l.typeusure, l.date, l.email, l.submitter, l.town, l.country, l.photo, p.cod_img, p.lid, p.uid_owner, p.url FROM ".$xoopsDB->prefix("adslight_listing")." l LEFT JOIN ".$xoopsDB->prefix("adslight_pictures")." p ON l.lid=p.lid where l.lid=".mysql_real_escape_string($lid)."");
list($lid, $title, $expire, $type, $desctext, $tel, $price, $typeprice, $typeusure, $date, $email, $submitter, $town, $country, $photo, $cod_img, $pic_lid, $uid_owner, $url) = $xoopsDB->fetchRow($result);
après
$typeprice = $myts->htmlSpecialChars($typeprice);
Ajouter :
$typeusure = $myts->htmlSpecialChars($typeusure);
Remplacer
echo " <b>$type :</b> $title<br />";
par
echo " <b>$type :</b> $title <b><br />
$typeusure</b><br />";
@+
Z