24 |
// after in pdf or cvs |
// after in pdf or cvs |
25 |
//////////////////////////////////////////////////////////////////////////////// |
//////////////////////////////////////////////////////////////////////////////// |
26 |
if ( isset( $_POST['bt_html'] ) ) { |
if ( isset( $_POST['bt_html'] ) ) { |
27 |
include("class_form.php"); |
include("class_rapport.php"); |
28 |
$Form=new formulaire($cn,$_POST['form_id']); |
$Form=new rapport($cn,$_POST['form_id']); |
29 |
$Form->GetName(); |
$Form->GetName(); |
30 |
$array=$Form->GetRow( $_POST['from_periode'], |
$array=$Form->GetRow( $_POST['from_periode'], |
31 |
$_POST['to_periode'] |
$_POST['to_periode'] |
43 |
echo "<table>"; |
echo "<table>"; |
44 |
echo '<TR>'; |
echo '<TR>'; |
45 |
echo '<TD><form method="GET" ACTION="user_impress.php">'. |
echo '<TD><form method="GET" ACTION="user_impress.php">'. |
46 |
$submit->Submit('bt_other',"Autre Formulaire"). |
$submit->Submit('bt_other',"Autre Rapport"). |
47 |
$hid->IOValue("type","form")."</form></TD>"; |
$hid->IOValue("type","form")."</form></TD>"; |
48 |
|
|
49 |
echo '<TD><form method="POST" ACTION="form_pdf.php">'. |
echo '<TD><form method="POST" ACTION="form_pdf.php">'. |
96 |
from formdef |
from formdef |
97 |
order by fr_label"); |
order by fr_label"); |
98 |
if ( sizeof($ret) == 0 ) { |
if ( sizeof($ret) == 0 ) { |
99 |
echo "Aucun Formulaire"; |
echo "Aucun Rapport"; |
100 |
return; |
return; |
101 |
} |
} |
102 |
//////////////////////////////////////////////////////////////////////////////// |
//////////////////////////////////////////////////////////////////////////////// |
107 |
echo '<TABLE><TR>'; |
echo '<TABLE><TR>'; |
108 |
$w=new widget("select"); |
$w=new widget("select"); |
109 |
$w->table=1; |
$w->table=1; |
110 |
$w->label="Choississez le formulaire"; |
$w->label="Choississez le rapport"; |
111 |
print $w->IOValue("form_id",$ret); |
print $w->IOValue("form_id",$ret); |
112 |
print '</TR>'; |
print '</TR>'; |
113 |
print '<TR>'; |
print '<TR>'; |