/[phpcompta]/phpcompta/html/form_csv.php
ViewVC logotype

Diff of /phpcompta/html/form_csv.php

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

revision 1.2 by sparkyx, Thu Jun 30 19:25:44 2005 UTC revision 1.3 by sparkyx, Thu Jul 21 09:41:39 2005 UTC
# Line 21  Line 21 
21  include_once("ac_common.php");  include_once("ac_common.php");
22  include_once ("postgres.php");  include_once ("postgres.php");
23  include ('class_user.php');  include ('class_user.php');
24  include("class_form.php");  include("class_rapport.php");
25  include("impress_inc.php");  include("impress_inc.php");
26  header('Content-type: application/csv');  header('Content-type: application/csv');
27  header('Content-Disposition: attachment;filename="form.csv"',FALSE);  header('Content-Disposition: attachment;filename="rapport.csv"',FALSE);
28    
29  /* Admin. Dossier */  /* Admin. Dossier */
30  $cn=DbConnect($_SESSION['g_dossier']);  $cn=DbConnect($_SESSION['g_dossier']);
# Line 34  $User=new cl_user($cn); Line 34  $User=new cl_user($cn);
34  $User->Check();  $User->Check();
35    
36    
37  $Form=new formulaire($cn,$_POST['form_id']);  $Form=new rapport($cn,$_POST['form_id']);
38  $Form->GetName();  $Form->GetName();
39  $array=$Form->GetRow( $_POST['from_periode'],  $array=$Form->GetRow( $_POST['from_periode'],
40                                                  $_POST['to_periode']                                                  $_POST['to_periode']

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

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