/[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.12 by sparkyx, Tue Oct 25 12:10:26 2005 UTC revision 1.13 by sparkyx, Wed Oct 26 13:18:22 2005 UTC
# Line 46  ShowMenuCompta($_SESSION['g_dossier']); Line 46  ShowMenuCompta($_SESSION['g_dossier']);
46     $sessid=$_REQUEST['PHPSESSID'];     $sessid=$_REQUEST['PHPSESSID'];
47    
48  // display a search box  // display a search box
49     $search_box=u_ShowMenuRecherche($cn,0,$sessid,$HTTP_POST_VARS);  $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;
    // if nofirst is set then show result  
    if ( isset ($_GET['nofirst'] ) ) {  
      $a=ListJrn($cn,0,"",$HTTP_POST_VARS);  
      echo '<div class="result">';  
      echo $a;  
      echo '</div>';  
    }  
    echo '</DIV>';  
52    
 ?>  
53    // Navigation bar
54    $step=$_SESSION['g_pagesize'];
55    $page=(isset($_GET['offset']))?$_GET['page']:1;
56    $offset=(isset($_GET['offset']))?$_GET['offset']:0;
57    
58    list($max_line,$a)=ListJrn($cn,0,"",$_GET,$offset);
59    $bar=jrn_navigation_bar($offset,$max_line,$step,$page);
60    
61    echo '<div class="result">';
62    echo $bar;
63    echo $a;
64    echo $bar;
65    echo '</div>';
66    
67    echo '</DIV>';
68    
69    ?>

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

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