<?php
$DEBUG=0;
$serie=10;
$ent = "Modèle Station";
$ico = "intervention.png";
$edition="";
$tableSelect="modelestation"; 
$champs=array("idmodelestation",
              "libmodelestation",
              "idorganisme",
              "idmodelestation as station",
              "idmodele",
              "idmarque",
              "idtypestation",
              "idsysteme",
              "dateachat",
              "idfournisseur",
              "bc",
              "garantie",
              "idscomp as listenaturecomp", //chmp bidon
              "idscomp as listecomp", //chmp bidon
              "idscomp as champcomp", //chmp bidon 
              "idscomp",   //
//              "idslogiciel as listenaturelogi", //chmp bidon
              "idslogi as listelogi", //chmp bidon
              "idslogi as champlogi", //chmp bidon 
              "idslogi",   //
              "idsperi as listenatureperi", //chmp bidon
              "idsperi as listeperi", //chmp bidon
              "idsperi as champperi", //chmp bidon 
              "idsperi");   //
$selection="";                                       
$sql_organisme="select idorganisme,liborganisme from organisme order by liborganisme";
$sql_station="select idstation,numero from station order by numero";
$sql_typestation="select idtypestation,libtypestation from typestation order by libtypestation";
$sql_fournisseur="select idfournisseur,libfournisseur from fournisseur order by libfournisseur";
$sql_marque="select idmarque, libmarque from marque where publisheronly=0 order by libmarque";    
$sql_modele="select idmodele,libmodele from modeleelement where nature='station' order by libmodele";
$sql_systeme="select idmodele,libmodele from modeleelement where nature='systeme' order by libmodele";
$sql_modelelogiciel="select idmodele,libmodele from modeleelement where nature = 'logiciel' and integre = 'v' order by libmodele";
$naturecomposant[0]=array('','modelecartemere','modelecartereseau','modelecarteson','modelecartevideo','modeledisquedur','modelefloppy','modelelecteuroptique','modelememoire','modeleprocesseur');
$naturecomposant[1]=array('Choisir une catégorie','Carte mère','Carte réseau','Carte son','Carte video','Disque dur','Floppy','Lecteur optique','Mémoire','Processeur');
$natureperipheriquestation[0]=array('','modeleclavier','modelesouris','modeleecran','modeleenceintes','modeleimprimante','modelescanner','modelelecteurzip');
$natureperipheriquestation[1]=array('Choisir une catégorie','Clavier','Souris','Ecran','Enceintes','Imprimante','Scanner','Lecteur zip');
?>