1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
| <html>
<head>
<title>Agence</title>
</head>
<body background="C:\Documents and Settings\Poste\Mes documents\Mes images\28.bmp" >
<br/><br/><br/><br/><br/>
<form>
<?
$bd="fiche";
$user="root";
$password="123456";
$cnx=odbc_connect($bd,$user,$password);
if(!$cnx)
echo"Impossible de se connecter";
?>
<table width="400" height="200" bgcolor="white" align="center" valign="middle" bgColor="white">
<tr>
<td valign="middle" width="200"><font face="monotype corsiva" size="4" color="darkblue">N°Agence :</font></td>
<td valign="middle" width="200" >
<?
echo"<select name=\"Agence\">";
$res=odbc_exec($cnx,"select N°agence from Agence");
while (odbc_fetch_row($res))
{
$nag=odbc_result($res,1);
echo"<option>$nag";
}
echo"</select>";
?>
</td>
</tr>
<tr><td valign="middle" width="200"><font face="monotype corsiva" size="4" color="darkblue">Nom Agence :</font></td>
<td valign="middle" width="200"> <input type ="text" name="nomagence"></td>
</tr>
<br/>
<br/>
<tr><td valign="middle" width="200"><font face="monotype corsiva" size="4" color="darkblue"> Tel :</font> </td>
<td valign="middle" width="200"><input type="text" name="tel"></td>
</tr>
<br/>
<br/>
<tr><td valign="middle" width="200"><font face="monotype corsiva" size="4" color="darkblue"> Fax :</font></td>
<td width="200" valign="middle"><input type="text" name="tel"></td>
</tr>
</table>
<br/>
<br/>
<br/>
<table width="600" bgcolor="white" align="center">
<tr>
<td align="center" valign="middle" width="300"> <button
type="button"
value="button"
name="script" onClick="window.location='Menu1.php'"><font face="monotype corsiva" size="3" color="darkblue"><< Vers Menu</font></button></td>
<td align="center" valign="middle" width="300"><button
type="button"
value="button"
name="script" onClick="window.location='Entreprise.php'"><font face="monotype corsiva" size="3" color="darkblue">Continuer >></font></button></td>
</tr>
</table>
</form>
</html> |
Partager