Here is the code :
select 'dbr.text', concat('Consultations IMADIS du ', DATE_FORMAT(pStartDate,'%d/%m/%Y') , ' au ', DATE_FORMAT(pEndDate ,'%d/%m/%Y')), 'clTitle';
select 'dbr.text', pEtablissement, 'clSubtitle' ;
and the associated css :
.clTitle
{
color:#365f91;background-color: #dbe5f1;font-family: Times New Roman, Times, serif; font-size: 2em; padding: 0.2em; margin: 0;text-align: center;
border-top: 1px solid #000055; border-left: 5px solid #000055; border-right: 5px solid #000055;
}
.clSubtitle
{
color:#365f91;background-color: #dbe5f1;font-family: Times New Roman, Times, serif; font-size: 2em; font-weight: bold; padding: 0.2em; margin: 0;text-align: center;
border-bottom: 1px solid #000055; border-left: 5px solid #000055; border-right: 5px solid #000055;
}
I've also tried a simplest code (instead of the previous one ) :
select 'dbr.purehtml', '<table width="100%" border="1"><tr><td>';
select 'dbr.purehtml', concat('Consultations IMADIS du ', DATE_FORMAT(pStartDate,'%d/%m/%Y') , ' au ', DATE_FORMAT(pEndDate ,'%d/%m/%Y'));
select 'dbr.purehtml', '</td></tr></table>';
Same result...