noalyss Version-9
result_cat_card_summary.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?><div class="content">
5<?php echo _("Cherche")?> :
6 <?php
7 $col="";$sp="";
8 for ($e=0;$e<count($aHeading);$e++) {$col.=$sp.$e; $sp=",";}
9 echo HtmlInput::filter_table("fiche_tb_id", $col, '1');
10 ?>
11<table id="fiche_tb_id" class="sortable">
12<tr>
13<?php
14 echo th(_('Détail'));
15for ($i=0;$i<count($aHeading);$i++) :
16 $span="";$sort="";
17 if ($i==0)
18 {
19 $sort= 'class="sorttable_sorted"';
20 }
21 echo '<th '.$sort.'>'.$aHeading[$i]->ad_text.'</th>';
23?>
24</tr>
25<?php
28 echo HtmlInput::hidden("card_gdossier",Dossier::id());
29foreach ($array as $row ) :
30 $e++;
31 if ($e%2==0)
32 printf('<tr id="row_card%s" class="odd">',$row['f_id']);
33 else
34 printf('<tr id="row_card%s" class="even">',$row['f_id']);
35
36 $fiche->id=$row['f_id'];
37 $detail=Icon_Action::modify("mod".$fiche->id, sprintf("modify_card('%s')",$fiche->id)).
38 "&nbsp;".
39 Icon_Action::trash("del".$fiche->id, sprintf("delete_card_id('%s')",$fiche->id));
40echo td($detail);
41$fiche->display_row();
42
43 echo '</tr>';
45
46?>
47</table>
48
49
50
51</div>
th($p_string, $p_extra='', $raw='')
Definition: ac_common.php:58
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
if(isset($tot['tva'][$a]))($tot['tva'][$a])?></td ><?php else endforeach
static id()
return the 'gDossier' value after a check
define Class fiche and fiche def, those class are using class attribut. When adding or modifing new c...
Definition: fiche.class.php:38
static filter_table($p_table_id, $p_col, $start_row)
filter the rows in a table and keep the colored row in alternance
static hidden($p_name, $p_value, $p_id="")
static modify($p_id, $p_javascript)
Display the icon to modify a idem.
static trash($p_id, $p_javascript)
Display the icon of a trashbin.
$all table
for($i=0;$i< count($aHeading);$i++) $sort