Bonjour,
Dites j'ai un probleme de double affichage de formulaire, avez vous une idee?
Voici mon script:
Merci d'avance
Code : Sélectionner tout - Visualiser dans une fenêtre à part
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 <?php include_once("db_common.php"); include_once("config.inc.php"); $query="SELECT id,brandname FROM cms_shop_brand where rc_brand=1 ORDER BY brandname"; $brandlist=get_options($query,false,true,$_POST['brandid']); ?> <html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <!--link href="/default.css" rel="stylesheet" type="text/css"--> <link href="../../default.css" rel="stylesheet" type="text/css"> </head><body> <form action="" method="post" enctype="multipart/form-data" name="form1"> <table width="430" border="4" align="center" cellpadding="4" cellspacing="0" class="frmdlg"> <tr> <td><table width="100%" border="0" cellspacing="0" cellpadding="0" class="dlgcontent"> <tr> <td class="formcaption"><div align="center">Liste des modèles</div></td> </tr> <tr> <td align="center"> <? if (($error)||($warning)||($success)) { echo error($error);echo warning($warning);echo success($success); }else {?> <img src="<? echo TH_FOLDER.THEME?>/spacer.gif" width="10" height="10"> <? } ?> </td> </tr> <tr> <td><table width="100%" border="0" cellpadding="0" cellspacing="0" class="dlgcontent"> <tr> <td width="163">Marques<br> <select name="brandid" id="brandid" onChange="submit()"> <? echo $brandlist?></select></td> <td width="253"> </td> </tr> <tr> <td colspan="2">Modèles</td> </tr> </table></td> </tr> <tr> <td> <iframe border=1 width="100%" height=400 src="modules/01-articles/listemodels.php?rand=<? echo rand(0, 65535); ?>&brandid=<? echo $_POST['brandid']; ?>"></iframe> </td> </tr> <tr> <td><div align="center"><img src="images/spi.gif" height="10"></div></td> </tr> <tr> <td> </td> </tr> <tr> <td><div align="center"><img src="images/spi.gif" height="10"></div></td> </tr> <tr> <td><div align="center"> <table border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td> </td> <td><table class="btnholder"> <tr> <td><input name="add_item" type="submit" class="flatbtn" id="add_item" value="Ajouter" ></td> </tr> </table></td> <td> </td> <td><table class="btnholder" > <tr> <td><input name="cd_item" type="submit" class="flatbtn" id="cd_item" value="Modifier" ></td> </tr> </table></td> <td> </td> <td><table class="btnholder" > <tr> <td><input name="del_item" type="submit" class="flatbtn" id="del_item" value="Effacer" ></td> </tr> </table></td> <td> </td> </tr> </table> </div></td> </tr> <tr> <td><div align="center"><img src="<? echo PICS?>/spi.gif" height="10"> </div></td> </tr> </table></td> </tr> </table> <input type="hidden" name="selectedrow" value=""> </form> </body></html>





Répondre avec citation




Partager