Plugins  LAST
 All Data Structures Files Functions Variables Pages
result_receipt.php
Go to the documentation of this file.
1 <?php
2 //This file is part of NOALYSS and is under GPL
3 //see licence.txt
4 ?>
5 <table class="result">
6 <tr>
7  <Th>Date</Th>
8  <th>internal</th>
9  <th>Libelle</th>
10  <th>Pièce</th>
11  <th>Montant</th>
12  <TH><INPUT TYPE="CHECKBOX" onclick="toggle_checkbox('form1')"></TH>
13 </tr>
14 <?php
15  for ($i=0;$i<$nb_row;$i++):
16  $row=Database::fetch_array($ret,$i);
17  $class=($i%2==0)?' class="even" ':' class="odd" ';
18  $checkbox->value=$row['jr_id'];
19 ?>
20 <tr <?php echo $class?> >
21  <TD><?php echo $row['str_date']?></TD>
22  <td><?php echo HtmlInput::detail_op($row['jr_id'],$row['jr_internal'])?></td>
23  <td><?php echo h($row['jr_comment'])?>
24  <td><?php echo $row['jr_pj_number']?></td>
25  <td class="num"><?php echo nbm($row['jr_montant'])?></td>
26  <td><?php echo $checkbox->input();?></td>
27  </tr>
28 <?php
29 endfor;
30 ?>
31 </table>
32 </form>
$ret
for($i=0;$i< Database::num_row($ret);$i++) $row
$checkbox
Definition: search_view.php:8
$nb_row
Definition: search_view.php:6
endfor
$categorie_appel table
$class