[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/se3-ocs/sources/www/ -> resultats.php (source)

   1  <?
   2  //====================================================================================
   3  // OCS INVENTORY REPORTS
   4  // Copyleft Pierre LEMMET 2005
   5  // Web: http://ocsinventory.sourceforge.net
   6  //
   7  // This code is open source and may be copied and modified as long as the source
   8  // code is always made freely available.
   9  // Please refer to the General Public Licence http://www.gnu.org/ or Licence.txt
  10  //====================================================================================
  11  //Modified on 8/12/2005
  12      global $query;             
  13      $okReq=0;
  14      foreach($requetes as $req) // On met dans $req la requete demandée
  15      {        
  16          if((isset($_GET["lareq"])&&$req->label==$_GET["lareq"])||
  17          (!isset($_GET["lareq"])&&isset($_SESSION["lareq"])&&$req->label==$_SESSION["lareq"])) {
  18              $okReq=1;
  19              break;
  20          }        
  21      }        
  22      
  23      if($okReq==0) {
  24          include ("footer.php");
  25          die();
  26      }
  27      
  28      echo $req->toHtml($link);    
  29      
  30      if(isset($_POST["sub"])&&!isset($_GET["cuaff"])) {
  31          unset($_GET["c"]);
  32          unset($_SESSION["query"]);
  33          unset($_SESSION["queryC"]);
  34          $_SESSION["pageCur"] = 1;
  35      }
  36      
  37      if(isset($_POST["sub"])||!isset($req->labelChamps[0])||isset($_GET["c"])) 
  38          ShowResults($req,true,false,false,true,false);
  39  ?>
  40      
  41      
  42      


Generated: Tue Mar 17 22:47:18 2015 Cross-referenced by PHPXref 0.7.1