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

Diff of /phpcompta/html/recherche.php

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

revision 1.13 by sparkyx, Wed Oct 26 13:18:22 2005 UTC revision 1.14 by sparkyx, Wed Oct 26 14:59:16 2005 UTC
# Line 49  ShowMenuCompta($_SESSION['g_dossier']); Line 49  ShowMenuCompta($_SESSION['g_dossier']);
49  $search_box=u_ShowMenuRecherche($cn,0,$sessid,$_GET);  $search_box=u_ShowMenuRecherche($cn,0,$sessid,$_GET);
50  echo '<DIV>'; // class="recherche_form">';  echo '<DIV>'; // class="recherche_form">';
51  echo $search_box;  echo $search_box;
52    ////////////////////////////////////////////////////////////////////////////////
53  // Navigation bar  // Display search result
54  $step=$_SESSION['g_pagesize'];  ////////////////////////////////////////////////////////////////////////////////
55  $page=(isset($_GET['offset']))?$_GET['page']:1;  if ( isset ($_GET['viewsearch'])) {
56  $offset=(isset($_GET['offset']))?$_GET['offset']:0;    // Navigation bar
57      $step=$_SESSION['g_pagesize'];
58  list($max_line,$a)=ListJrn($cn,0,"",$_GET,$offset);    $page=(isset($_GET['offset']))?$_GET['page']:1;
59  $bar=jrn_navigation_bar($offset,$max_line,$step,$page);    $offset=(isset($_GET['offset']))?$_GET['offset']:0;
60      if (count ($_GET) == 0)
61  echo '<div class="result">';      $array=null;
62  echo $bar;    else
63  echo $a;       $array=$_GET;
64  echo $bar;    
65  echo '</div>';    list($max_line,$a)=ListJrn($cn,0,"",$array,$offset);
66      $bar=jrn_navigation_bar($offset,$max_line,$step,$page);
67    
68      echo '<div class="result">';
69      echo $bar;
70      echo $a;
71      echo $bar;
72      echo '</div>';
73    }
74  echo '</DIV>';  echo '</DIV>';
75    
76  ?>  ?>

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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