<?

//include "../include/validsession.inc";
include "../include/top.inc";
?>

<SCRIPT Language="JAVASCRIPT">

function nextStep()
{
	if (validate() == true)
	{
		document.RechercheEquipement.action="RechercheEquipement.php";
		document.RechercheEquipement.method = "Post"
		document.RechercheEquipement.submit();
	}
}


function validate()
{
	if ( isNaN(document.RechercheEquipement.Cout.value) ) {
		alert("Vous devez entrer un nombre!");
		document.RechercheEquipement.Cout.focus();
		return false;				
	}
	
	if ( isNaN(document.RechercheEquipement.Unite.value) ) {
		alert("Vous devez entrer un nombre!");
		document.RechercheEquipement.Unite.focus();
		return false;				
	}

return true
}
</Script>



<table>
        <tr> 
          <td width="5">&nbsp;</td>
          <td valign="top" width="738"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
          <td width="23" rowspan="2"><img src="<? echo $pathimages; ?>/images/innertopleft.gif" width="23" height="23"></td>
          <td bgcolor="#000066" width="1"><img src="<? echo $pathimages; ?>/images/clearpix.gif" width="1" height="1"></td>
          <td width="23" rowspan="2"><img src="<? echo $pathimages; ?>/images/innertopright.gif" width="23" height="23"></td>
        </tr>
        <tr>
          <td width="100%">&nbsp;<font color="#10307B" face="Georgia" size="2"><b><i>

          
        </i></b></font><font color="#10307B" face="Georgia" size="2"><b><i>Recherche
            d'un Equipement</i></b></font></td>
        </tr>
        <tr>
          <td background="<? echo $pathimages; ?>/images/leftbg.gif"><img src="<? echo $pathimages; ?>/images/clearpix.gif" width="23" height="1"></td>
          <td width="100%" valign="top">
          
          <p align="center"><b>&nbsp;</b></p>
          <b>
          
          
          <div align="center">
            <center>
            
            <table border="0" cellpadding="0" cellspacing="0" width="600">
              <tr>
                <td>
                <FORM Action="RechercheEquipement.php" Method=Post Name="RechercheEquipement">
                <table width="475" border="0" cellspacing="0" cellpadding="0">
											<tr>
												<td colspan="3" height="15"class="formtxt">&nbsp;&nbsp;&nbsp;&nbsp;
                                                  <b>Paramètres de </b><b>recherche
                                                  :</b></td>
											</tr>
											<tr>
												<td colspan="3"><img src="<? echo $pathimages; ?>/images/form_top.gif" width="650" height="17" alt="" border="0"></td>
											</tr><tr>
												<td bgcolor="#DD7242"><img src="<? echo $pathimages; ?>/images/spacer.gif" width="1" height="1" alt="" border="0"></td>
            </center>
												<td align="center" bgcolor="#F2F2F2" class="normal">														
                                                <p align="left">														
												<img src="<? echo $pathimages; ?>/images/spacer.gif" width="648" height="1" alt="" border="0"><br>
                                                <div align="center">
                                                  <center>
                                                  <table border="0" cellpadding="0" cellspacing="0" width="630">
                                                    <tr>
                                                      <td width="124" style="white-space: no-wrap;"><img src="<? echo $pathimages; ?>/images/pr.gif" border="0" width="6" height="6">
            <font class="formtxt"  >Nom de l'équipement:</font></td>
                                                      <td width="511" colspan="4"><input type="text" NAME="Nom" size="40" class="input" style="width: 425; height: 16" tabindex="6">
                                                      <input type="hidden" NAME="formAvan" value = "<? echo $_REQUEST["formAvan"];?>"size="40" class="input" style="width: 158; height: 16" tabindex="1">
                                                      </td>
                                                    </tr>
                                                    <tr>
                                                      <td width="124">
                            <img src="<? echo $pathimages; ?>/images/pr.gif" border="0" width="6" height="6"><font class="formtxt">Description&nbsp;
                            :</font>
                                                      </td>
                                                      <td width="511" colspan="4"><input type="text" NAME="Discription" size="10" class="input" style="width: 424; height: 16" tabindex="7"></td>
                                                    </tr>
                                                    <tr>
                                                      <td width="124"><img src="<? echo $pathimages; ?>/images/pr.gif" border="0" width="6" height="6"><font class="formtxt">Statut
                                  :</font></td>
                                                      <td width="229"><select name="StatutLocal" class="select" size="1" tabindex="8">
                            <option value = "" selected>Choisissez&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</option>
                            <option value="1">Disponible</option>
                            <option value="0">Non disponible</option>
                          </select></td>
                                                      <td width="11"></td>
                                                      <td width="80"></td>
                                                      <td width="191"></td>
                                                    </tr>
                                                    <tr>
                                                      <td width="124">
                                                      </td>
                                                      <td width="229">&nbsp;</td>
                                                      <td width="11"></td>
                                                      <td width="80">
                                                      </td>
                                                      <td width="191"></td>
                                                    </tr>
                                                    <tr>
                                                      <td width="124"><img src="<? echo $pathimages; ?>/images/pr.gif" border="0" width="6" height="6"><font class="formtxt">Type
                            d'utilisation&nbsp; :</font>
                                                      </td>
                                                      <td width="229"><input type="text" NAME="TypeUtilisation" size="10" class="input" style="width: 217; height: 16" tabindex="7"></td>
                                                      <td width="11"></td>
                                                      <td width="80"><img src="<? echo $pathimages; ?>/images/pr.gif" border="0" width="6" height="6"><font class="formtxt">Unités
                                                        :</font>
                                                      </td>
                                                      <td width="191"><input type="text" NAME="Unite" size="40" class="input" style="width: 75; height: 16" tabindex="16"></td>
                                                    </tr>
                                                    <tr>
                                                      <td width="124"></td>
                                                      <td width="229"></td>
                                                      <td width="11"></td>
                                                      <td width="80"><img src="<? echo $pathimages; ?>/images/pr.gif" border="0" width="6" height="6"><font class="formtxt">Coût&nbsp;
                                                        :</font></td>
                                                      <td width="191"><input type="text" NAME="Cout" size="40" class="input" style="width: 74; height: 16" tabindex="17">$</td>
                                                    </tr>
                                                    <tr>
                                                      <td width="124">
                                                      </td>
                                                      <td width="229">
                                                      </td>
                                                      <td width="11"></td>
                                                      <td width="80"></td>
                                                      <td width="191"></td>
                                                    </tr>
                                                  </table>
                                                  </center>
                                                </div>
            <center>
                                                </center>
												</td>
													<td bgcolor="#DD7242"><img src="<? echo $pathimages; ?>/images/spacer.gif" width="1" height="1" alt="" border="0"></td>
												</tr>

								
												<tr>
													<td colspan="3"><img src="<? echo $pathimages; ?>/images/form_bot.gif" width="650" height="16" alt="" border="0"></td>
												</tr>
										</table>

                
                
                </td>
              </tr>
            </table>
          </div>
            &nbsp;
          <p align="center">
                                                                      <input type="button" value=" :: Afficher :: " onclick="javascript:nextStep();" id=button1 name=button1 class=btnfrm>
                                                                      
          <br>
          </FORM>
            <table width="680" BORDER="0" CELLPADDING="0" CELLSPACING="0">
              <tr>
                <td align="left" width="394">
               
                 
                  
                  </td>
                </tr>
              </table>
          </b>
            </td>
            <td width"23" background="<? echo $pathimages; ?>/images/rightbg1.gif"><img src="<? echo $pathimages; ?>/images/clearpix.gif" width="23" height="1"></td>
          </tr>
          <tr>
            <td width="23" rowspan="2"><img src="<? echo $pathimages; ?>/images/innerbottomleft.gif" width="23" height="23"></td>
            <td width="100%">
              <p align="center">&nbsp;</td>
            <td width="23" rowspan="2"><img src="<? echo $pathimages; ?>/images/innerbottomright.gif" width="23" height="23"></td>
          </tr>
          <tr>
            <td width="1" bgcolor="#000066" height="1"><img src="<? echo $pathimages; ?>/images/clearpix.gif" width="1" height="1"></td>
          </tr>
        </table>
        <font color="#0000FF"><img src="<? echo $pathimages; ?>/images/clearpix.gif" width="1" height="22"></font>
          </td>
   <?
   
  
include "../include/footer.inc";

   ?>