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

Diff of /phpcompta/html/fiche_csv.php

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

revision 1.5 by sparkyx, Sun Feb 27 14:24:30 2005 UTC revision 1.6 by sparkyx, Mon Mar 7 19:50:22 2005 UTC
# Line 27  include_once("check_priv.php"); Line 27  include_once("check_priv.php");
27    
28  $cn=DbConnect($_SESSION['g_dossier']);  $cn=DbConnect($_SESSION['g_dossier']);
29    
30    $rep=DbConnect();
31  include ('class_user.php');  include ('class_user.php');
32  $User=new cl_user($cn);  $User=new cl_user($rep);
33  $User->Check();  $User->Check();
34  if ( $_SESSION['use_admin'] == 0 ) {  
35    if (CheckAction($_SESSION['g_dossier'],$_SESSION['g_user'],FICHE_READ) == 0 )  if ($User->CheckAction($cn,FICHE_READ) == 0 )
36          {    {
37            /* Cannot Access */      /* Cannot Access */
38            NoAccess();      NoAccess();
39          }    }
40  }  
41  if  ( isset ($_POST['fd_id'])) {  if  ( isset ($_POST['fd_id'])) {
42    $fiche_def=new fiche_def($cn,$_POST['fd_id']);    $fiche_def=new fiche_def($cn,$_POST['fd_id']);
43    $fiche=new fiche($cn);    $fiche=new fiche($cn);

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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