Plugins
LAST
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Pages
importbank
include
template
show_import.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
<form
id
=
"purge"
method=
"POST"
>
6
<
table
class
=
"table_large"
>
7
<TR>
8
<th> num transfert</th>
9
<Th>Date </Th>
10
<Th>Nom format</Th>
11
<th>Nouveau</th>
12
<th>Transfèré</th>
13
<th>Attente</th>
14
<th>Erreur</th>
15
<th>Effacé</th>
16
<Th>Supprimer </Th>
17
<th></th>
18
</TR>
19
<?php
20
for
($i=0;$i<Database::num_row(
$ret
);$i++):
21
22
if
($i%2 == 0 )
23
$class
=
'class="even"'
;
24
else
25
$class
=
'class="odd"'
;
26
$row
=
$cn
->fetch_array(
$ret
,$i);
27
$delete
=
$cn
->execute(
'status'
,array(
$row
[
'id'
],
'D'
));
28
$ndelete
=Database::fetch_array(
$delete
,0);
29
30
$new
=
$cn
->execute(
'status'
,array(
$row
[
'id'
],
'N'
));
31
$nnew
=Database::fetch_array(
$new
,0);
32
33
$error
=
$cn
->execute(
'status'
,array(
$row
[
'id'
],
'E'
));
34
$nerror
=Database::fetch_array(
$error
,0);
35
36
$transf
=
$cn
->execute(
'status'
,array(
$row
[
'id'
],
'T'
));
37
$ntransf
=Database::fetch_array(
$transf
,0);
38
39
$rec
=
$cn
->execute(
'status'
,array(
$row
[
'id'
],
'W'
));
40
$nrec
=Database::fetch_array(
$rec
,0);
41
42
43
?>
44
<tr <?php echo $class?>>
45
<td><?php echo
$row
[
'id'
]?></td>
46
<td>
47
<?php echo HtmlInput::hidden(
'id[]'
,
$row
[
'id'
]);?>
48
<?php echo format_date(
$row
[
'str_date'
])?>
49
</td>
50
<td>
51
<?php echo h(
$row
[
'format_name'
])?>
52
</td>
53
54
<td><?php echo
$nnew
[0]?></td>
55
<td><?php echo
$ntransf
[0]?></td>
56
<td><?php echo
$nrec
[0]?></td>
57
58
<td><?php echo
$nerror
[0]?></td>
59
<td><?php echo
$ndelete
[0]?></td>
60
61
<td>
62
<?php
63
$select
=
new
ICheckBox(
's_del[]'
,
$row
[
'id'
]);
64
65
echo $select->input()
66
?>
67
</td>
68
69
70
<TD>
71
<?php
72
// list
73
echo HtmlInput::button_anchor(
'Détail'
,$link.
'&id='
.
$row
[
'id'
]);
74
?>
75
</tr>
76
77
</tr>
78
<?php
79
endfor
;
80
?>
81
</
table
>
82
83
<?php
84
$action
=
"onclick=\"select_checkbox('purge')\""
;
85
echo HtmlInput::button(
's'
,
'Tout cocher'
,
$action
);
86
87
$action
=
"onclick=\"unselect_checkbox('purge')\""
;
88
echo HtmlInput::button(
'u'
,
'Tout décocher'
,
$action
);
89
echo HtmlInput::hidden(
'sa'
,
$_REQUEST
[
'sa'
]);
90
echo HtmlInput::hidden(
'delete'
,
'1'
);
91
$action
=
" onclick=\"return confirm_box('purge','Vous confirmez ?');\""
;
92
echo HtmlInput::submit(
'delete'
,
'Supprimer la sélection'
,
$action
);
93
?>
94
95
</form>
$row
$row
Definition:
show_import.php:26
$class
else $class
Definition:
show_import.php:25
$action
$action
Definition:
show_import.php:84
$ret
$ret
Definition:
util_generate.php:75
$ntransf
$ntransf
Definition:
show_import.php:37
$new
$new
Definition:
show_import.php:30
$rec
$rec
Definition:
show_import.php:39
$nerror
$nerror
Definition:
show_import.php:34
$select
$select
Definition:
declaration.inc.php:92
$error
$error
Definition:
show_import.php:33
$transf
$transf
Definition:
show_import.php:36
$delete
$delete
Definition:
show_import.php:27
endfor
endfor
Definition:
show_import.php:47
$nrec
$nrec
Definition:
show_import.php:40
$ndelete
$ndelete
Definition:
show_import.php:28
table
$categorie_appel table
Definition:
appel_fond.inc.php:182
$_REQUEST
$_REQUEST['sb']
Definition:
am_print.php:39
$nnew
$nnew
Definition:
show_import.php:31
$cn
global $cn
Definition:
amortis_constant.php:12
Generated on Wed Feb 1 2017 23:19:24 for Plugins by
1.8.6