~ocsinventory-server/ocsinventory-server/stable-1.03

« back to all changes in this revision

Viewing changes to ocsreports/multi_lot.php

  • Committer: serpent
  • Date: 2009-09-03 09:32:02 UTC
  • Revision ID: serpent@snakebase2-20090903093202-1ryusexrrvs9zqow
Removed ocsreports from ocsinventory-server project

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php
2
 
require ('fichierConf.class.php');
3
 
$form_name='admin_search';
4
 
$ban_head='no';
5
 
require_once("header.php");
6
 
if ($_POST['onglet'] != $_POST['old_onglet']){
7
 
        $onglet=$_POST['onglet'];
8
 
        $old_onglet=$_POST['old_onglet'];
9
 
        unset($_POST);
10
 
        $_POST['old_onglet']=$old_onglet;
11
 
        $_POST['onglet']=$onglet;
12
 
}
13
 
if ($_GET['origine']!= "mach" and $_GET['origine']!= "group"){
14
 
        if (isset($_GET['idchecked']) and $_GET['idchecked'] != ""){
15
 
                $choise_req_selection['REQ']=$l->g(584);
16
 
                $choise_req_selection['SEL']=$l->g(585);
17
 
                $select_choise=show_modif($choise_req_selection,'CHOISE',2,$form_name); 
18
 
        }
19
 
        echo "<font color=red><b>";
20
 
        if ($_POST['CHOISE'] == 'REQ' or $_GET['idchecked'] == '' or $_POST['CHOISE'] == ''){
21
 
                echo $l->g(901);
22
 
                $list_id=$_SESSION['ID_REQ'];
23
 
        }
24
 
        if ($_POST['CHOISE'] == 'SEL'){
25
 
                echo $l->g(902);
26
 
                $list_id=$_GET['idchecked'];
27
 
        }
28
 
        
29
 
        //gestion tableau
30
 
        if (is_array($list_id))
31
 
        $list_id=implode(",", $list_id);
32
 
}else
33
 
$list_id=$_GET['idchecked'];
34
 
echo "</b></font>";
35
 
if ($list_id != ""){
36
 
if (strpos($_GET['img'], "config_search.png"))
37
 
include ("opt_param.php");
38
 
if (strpos($_GET['img'], "groups_search.png"))
39
 
include ("opt_groups.php");
40
 
if (strpos($_GET['img'], "tele_search.png"))
41
 
include ("opt_pack.php");
42
 
if (strpos($_GET['img'], "sup_search.png"))
43
 
include ("opt_sup.php");
44
 
if (strpos($_GET['img'], "cadena_ferme.png")){
45
 
include ("opt_lock.php");
46
 
}
47
 
}else
48
 
echo "<br><br><b><font color=red size=4>".$l->g(954)."</font></b>";
49
 
 
50
 
?>