36 |
$f->isDatabaseError($res); |
$f->isDatabaseError($res); |
37 |
while ($row=& $res->fetchRow(DB_FETCHMODE_ASSOC)){ |
while ($row=& $res->fetchRow(DB_FETCHMODE_ASSOC)){ |
38 |
$obj=$row['lettretype']; |
$obj=$row['lettretype']; |
39 |
//if(CHARSET=='UTF8'){ |
//if(DBCHARSET=='UTF8'){ |
40 |
// $titre= utf8_decode($lettretype["titre"]); |
// $titre= utf8_decode($lettretype["titre"]); |
41 |
$destinataire=$row['destinataire']; // *** |
$destinataire=$row['destinataire']; // *** |
42 |
$datecourrier=$row['datecourrier']; |
$datecourrier=$row['datecourrier']; |
190 |
//************************************************ |
//************************************************ |
191 |
$pos_t=""; |
$pos_t=""; |
192 |
$pos_t = strpos($titre, "<b>"); |
$pos_t = strpos($titre, "<b>"); |
193 |
if(CHARSET=='UTF8') |
if(DBCHARSET=='UTF8') |
194 |
$titre= utf8_decode($titre); |
$titre= utf8_decode($titre); |
195 |
if ($pos_t === false) { |
if ($pos_t === false) { |
196 |
// compatibilite :aucun attribut affichage <b> dans corps |
// compatibilite :aucun attribut affichage <b> dans corps |
414 |
//************************************************ |
//************************************************ |
415 |
$pos=""; |
$pos=""; |
416 |
$pos = strpos($corps, "<b>"); |
$pos = strpos($corps, "<b>"); |
417 |
if(CHARSET=='UTF8') |
if(DBCHARSET=='UTF8') |
418 |
$corps= utf8_decode($corps); |
$corps= utf8_decode($corps); |
419 |
if ($pos === false) { |
if ($pos === false) { |
420 |
// compatibilite :aucun attribut affichage dans corps |
// compatibilite :aucun attribut affichage dans corps |