noalyss Version-9
card_multiple_result.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
5?>
6<fieldset id="asearch" style="height:41rem">
7 <legend><?php echo _('Résultats'); ?></legend>
8 <div style="height:100%;overflow:auto;">
9 <?php if ($nb_array > 10) :
10 echo _("recherche rapide");
11 echo HtmlInput::filter_table("card_list", '1,2,3', 0);
13 ?>
14 <?php printf (_("Nombre de fiches trouvées %d montrées %d"),$count_card,$nb_array);?>
15 <table id="card_list" class="result" >
16 <th><?= ICheckBox::toggle_checkbox("all", "search_card2_frm")?></th>
17 <th><?=_("QCode")?></th>
18 <th><?=_("Société")?></th>
19 <th><?=_("Nom")?></th>
20 <th><?=_("Description")?></th>
21 <?php for ($i=0; $i<$nb_array; $i++) : ?>
22 <?php $class=($i%2==0)?'odd':'even'; ?>
23 <tr class="<?php echo $class; ?>">
24 <td style="padding-right:55px">
25 <?php echo $array[$i]['checkbox'] ?>
26 </td>
27 <td style="padding-right:55px">
28 <?php echo $array[$i]['quick_code'] ?>
29 </td>
30 <td>
31 <?php echo $array[$i]['company'] ?>
32 </td>
33 <td>
34 <?php echo $array[$i]['name'] ?>
35 <?php echo $array[$i]['first_name'] ?>
36 </td>
37 <td>
38 <?php echo $array[$i]['description'] ?>
39 </td>
40
41 </tr>
42
43
44 <?php endfor; ?>
45 </table>
46 <span style="font-style: italic;">
47 <?php echo _("Nombre d'enregistrements:$i"); ?>
48 </span>
49 <br>
50 </div>
51</fieldset>
th($p_string, $p_extra='', $raw='')
Definition: ac_common.php:58
span($p_string, $p_extra='')
Definition: ac_common.php:43
tr($p_string, $p_extra='')
Definition: ac_common.php:88
td($p_string='', $p_extra='')
surround the string with td
Definition: ac_common.php:83
$opd_description style
$class
static filter_table($p_table_id, $p_col, $start_row)
filter the rows in a table and keep the colored row in alternance
static toggle_checkbox($p_name, $p_form)
$all table
endfor