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

Diff of /phpcompta/html/jrn_csv.php

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

revision 1.8 by sparkyx, Tue Mar 15 18:46:47 2005 UTC revision 1.9 by stanpinte, Thu Apr 21 17:04:46 2005 UTC
# Line 32  include ('class_user.php'); Line 32  include ('class_user.php');
32  $User=new cl_user($rep);  $User=new cl_user($rep);
33  $User->Check();  $User->Check();
34  if ( $User->CheckAction($cn,IMP) == 0 ||  if ( $User->CheckAction($cn,IMP) == 0 ||
35       $User->AccessJrn($cn,$_POST['jrn_id']) == false){       $User->AccessJrn($cn,$_GET['jrn_id']) == false){
36      /* Cannot Access */      /* Cannot Access */
37      NoAccess();      NoAccess();
38    }    }
39    
40    
41   $p_cent=( isset ( $_POST['central']) )?$_POST['central']:'off';   $p_cent=( isset ( $_GET['central']) )?$_GET['central']:'off';
42    
43  $Jrn=new jrn($cn,$_POST['jrn_id']);  $Jrn=new jrn($cn,$_GET['jrn_id']);
44    
45  $Jrn->GetName();  $Jrn->GetName();
46  $Jrn->GetRow( $_POST['from_periode'],  $Jrn->GetRow( $_GET['from_periode'],
47                $_POST['to_periode'],                $_GET['to_periode'],
48                $p_cent);                $p_cent);
49    
50    if ( count($Jrn->row) == 0)    if ( count($Jrn->row) == 0)

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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