Plugins
LAST
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Pages
coprop
include
template
budget_list.php
Go to the documentation of this file.
1
<?php
2
/*
3
* Copyright 2010 De Bontridder Dany <dany@alchimerys.be>
4
* This file is part of NOALYSS.
5
*
6
* NOALYSS is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation; either version 2 of the License, or
9
* (at your option) any later version.
10
*
11
* NOALYSS is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with NOALYSS; if not, write to the Free Software
18
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
*/
20
?>
21
<?php
22
/**
23
* Liste tous les budgets inclus
24
* @see Budget::to_list
25
*/
26
?>
27
28
<
table
class
=
"result"
>
29
<tr>
30
<th> Nom </th>
31
<th> Exercice </th>
32
<th> Type de budget </th>
33
<th
style
=
"text-align: right"
> Montant </th>
34
</tr>
35
<?php
36
for
($i=0;$i<count(
$array
);$i++):
37
$class
=($i%2==0)?
' class="evend" '
:
' class="odd" '
;
38
$str_js=sprintf(
" onclick=\"budget_detail('%s','%s','%s','%s'); \""
,
39
$_REQUEST
[
'plugin_code'
],
$_REQUEST
[
'ac'
],
$_REQUEST
[
'gDossier'
],
$array
[$i][
'b_id'
]);
40
$js=HtmlInput::anchor(
"Détail"
,
""
,$str_js);
41
$str_js_del=sprintf(
" onclick=\"budget_remove('%s','%s','%s','%s');\" "
,
42
$_REQUEST
[
'plugin_code'
],
$_REQUEST
[
'ac'
],
$_REQUEST
[
'gDossier'
],
$array
[$i][
'b_id'
]);
43
$js_del=HtmlInput::anchor(
"Effacer"
,
""
,$str_js_del);
44
?>
45
<tr
id
=
"row<?php echo $array[$i]['b_id']?>"
<?php echo
$class
?> >
46
<td>
47
<?php echo
$array
[$i][
'b_name'
]?>
48
</td>
49
<td>
50
<?php echo
$array
[$i][
'b_exercice'
]?>
51
</td>
52
<td>
53
<?php echo
$array
[$i][
'str_type'
]?>
54
</td>
55
<td CLASS=
"num"
>
56
<?php echo nbm(
$array
[$i][
'b_amount'
])?>
57
</td>
58
<td
id
=
"col1<?php echo $array[$i]['b_id']?>"
>
59
<?php echo $js?>
60
</td>
61
<td
id
=
"col2<?php echo $array[$i]['b_id']?>"
>
62
<?php echo $js_del?>
63
</td>
64
</tr>
65
<?php
66
endfor
;
67
?>
68
69
</
table
>
$class
else $class
Definition:
show_import.php:25
endfor
endfor
Definition:
listing_histo.php:62
style
$note style
Definition:
ajax_add_key.php:32
$array
if(isset($_POST['remove'])) $array
Definition:
am_histo.inc.php:58
table
$categorie_appel table
Definition:
appel_fond.inc.php:182
$_REQUEST
$_REQUEST['sb']
Definition:
am_print.php:39
Generated on Wed Feb 1 2017 23:19:24 for Plugins by
1.8.6