/[phpcompta]/phpcompta/include/impress_form.php
ViewVC logotype

Diff of /phpcompta/include/impress_form.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by sparkyx, Thu Jun 30 19:25:44 2005 UTC revision 1.4 by sparkyx, Thu Jul 21 09:08:55 2005 UTC
# Line 24  include_once("class_widget.php"); Line 24  include_once("class_widget.php");
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']
# Line 43  include("class_form.php"); Line 43  include("class_form.php");
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">'.
# Line 96  $ret=make_array($cn,"select fr_id,fr_lab Line 96  $ret=make_array($cn,"select fr_id,fr_lab
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  ////////////////////////////////////////////////////////////////////////////////  ////////////////////////////////////////////////////////////////////////////////
# Line 107  echo '<FORM ACTION="?type=form" METHOD=" Line 107  echo '<FORM ACTION="?type=form" METHOD="
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>';

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26