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 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113
|
<html>
<head>
<script type="text/javascript" language="JavaScript1.2" ></script>
<title>Fiche Commande</title>
<script language=JavaScript>
<!--
function verif(){
if (document.form1.code.value.length ==0 )
{alert("Veuillez saisir un n°de commande .");
document.form1.code.focus();
return false;
}
if (document.form1.DAT.value.length ==0 )
{alert("Veuillez saisir une date .");
document.form1.DAT.focus();
return false;
}
if (document.form1.CLI.value.length ==0 )
{alert("Veuillez saisir un code client .");
document.form1.CLI.focus();
return false;
}
else{return true;}
}
function rech(){
if (document.form1.rech.value.length ==0 )
{
alert("Veuillez entrer un code pour la recherche .");
document.form1.rech.focus();
return false;
}
else{
return true;}
}
function gopage(page){
{
document.form1.action = page;
document.form1.submit();
}
}
function ShowMess(expe,messy) {
fenetre=window.open("",expe,'scrollbars=yes,resizable=yes,status=no,width=250,height=100');
fenetre.document.write ("<HEAD><TITLE>Message de "+expe+"</TITLE><style type='text/css'>center{ background:blue; color:white; }</style></HEAD>");
fenetre.document.open ("<CENTER>"+messy+"</CENTER>");}
-->
</script>
</head>
<body>
<H1 align="center">
<style type="text/css">
<!--
.Style2 {color: #0065ce}
.Style3 {color: #FFFFFF}
.Style4 {font-size: 12px}
.style5 {color: #FF0000}
-->
</style>
</H1>
<form NAME="form1" action="Ajout_com.php" method="POST" onSubmit="return verif()">
<TABLE align="center" bgcolor="#0066CC">
<tr>
<td width="10" height="17" valign="top" bgcolor="#639AFF" class="cadre1">
<img src="ongle_gauche.gif" width="10" height="16"></td>
<td height="10" valign="top" COLSPAN="5" bgcolor="#639aff" class="cadre1">
<div align="center" class="titregras Style3 Style4">
<div align="center" class="titregras Style3 Style4"><strong><font face="Arial, Helvetica, sans-serif">Commande</font></strong></div>
</div></td>
</tr>
<tr bgcolor="#e7efff">
<td bgcolor="#e7efff" ><font size="3" face="Arial, Helvetica, sans-serif">
<strong>N°Commande</strong></font></td>
<td><input type="text" name="code" size="12" VALUE=""></td>
<td bgcolor="#e7efff" ><font size="3" face="Arial, Helvetica, sans-serif">
<strong>Rechercher</strong>:</font></td>
<td><input type="text" name="Rech" size="12" VALUE=""></td></tr>
<tr bgcolor="#e7efff">
<td height="27"> <font size="3" face="Arial, Helvetica, sans-serif">
<strong>Date
</strong></font></td>
<td><input type="text" name="DAT" SIZE="10" /></td></tr>
<tr bgcolor="#e7efff">
<td> <font size="3" face="Arial, Helvetica, sans-serif">
<strong>Code Client</strong></font>
</td>
<td>
{commentaire au lieu de cette zone texte une liste deroulante}
<input type="text" name="CLI" /></td></tr>
<tr bgcolor="#e7efff">
<tr><td><td><input name="submit" type="submit" value="Ajouter">
<input name="submit2" type="Reset" value="Annuler">
<td><!--DWLayoutEmptyCell--> </td>
</tr>
</TABLE>
</form>
</body>
</html> |
Partager