30 <h1><?php echo $this->d_title?></h1>
31 <h2> Du <?php echo $this->d_start?> au <?php echo $this->d_end?></h2>
33 $script=sprintf(
"modify_rapav_description('%s','%s','%s','%s')",
40 <span
id=
"description_flag"></span>
41 <textarea
label=
"Description" style=
"width:75%;height:4em" class=
"input_text" id=
"description">
46 <?php echo HtmlInput::button_action(_(
'Modifie description'), $script ,
'modify_listing_description',
'tinybutton'); ?>
49 if ( empty(
$array) ) { echo
'Aucune donnée'; exit();}
52 echo HtmlInput::hidden(
'd_id',$this->
d_id);
53 for ($i=0;$i<count(
$array);$i++):
55 if ($this->d_step <> 0 )
$per=
$row[
'dr_start'].
" : ".
$row[
'dr_end'];
60 echo
'<h1 class="title">'.$row[
'dr_libelle'].
'</h1>';
63 echo
'<h2 class="title">'.$row[
'dr_libelle'].
'</h2>';
66 echo
'<h3 class="title">'.$row[
'dr_libelle'].
'</h3>';
69 $input=
new INum(
'amount[]',
$row[
'dr_amount']);
71 echo HtmlInput::hidden(
'code[]',
$row[
'dr_id']);
72 echo
'<p>'.$row[
'dr_code'].
" ".
$row[
'dr_libelle'].
" = ".$input->input().
" $per ".
' </p>';
75 echo
'<p>'.$row[
'dr_libelle'].
'</p>';
78 echo
'<p class="notice" > '.$row[
'dr_libelle'].
'</p>';
81 $input=
new INum(
'amount[]',
$row[
'dr_amount']);
83 echo HtmlInput::hidden(
'code[]',
$row[
'dr_id']);
84 echo
'<p>'.$row[
'dr_code'].
" ".
$row[
'dr_account'].$row[
'dr_libelle'].
" = ".$input->input().
" $per ".
' </p>';
for($i=0;$i< Database::num_row($ret);$i++) $row
switch($row['dr_type']) endfor
if(isset($_POST['remove'])) $array